From 19f9714826a5fe206f7ab596e2d0da3b564f73fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?shouchih=5Fchen=20=E9=99=B3=E5=AE=88=E5=BF=97?= Date: Tue, 15 Feb 2022 09:08:57 +0800 Subject: [PATCH] image save in high resolution. --- NameCreater/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NameCreater/main.cpp b/NameCreater/main.cpp index 8cac264..ce5e2e0 100644 --- a/NameCreater/main.cpp +++ b/NameCreater/main.cpp @@ -69,7 +69,7 @@ void saveToImage(const QString& filename, QGraphicsScene* scene) { QDir().mkdir("export"); } - image.save(QString("export/").append(filename)); + image.save(QString("export/").append(filename), "JPG", 100); }