image save in high resolution.
This commit is contained in:
parent
fb995d0786
commit
19f9714826
@ -69,7 +69,7 @@ void saveToImage(const QString& filename, QGraphicsScene* scene) {
|
|||||||
QDir().mkdir("export");
|
QDir().mkdir("export");
|
||||||
}
|
}
|
||||||
|
|
||||||
image.save(QString("export/").append(filename));
|
image.save(QString("export/").append(filename), "JPG", 100);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user