]> Devoid-pointer.net GitWeb - anyanka.git/commitdiff
Set output image quality to 100.
authorMichal Malý <madcatxster@prifuk.cz>
Sat, 15 Mar 2014 17:33:21 +0000 (18:33 +0100)
committerMichal Malý <madcatxster@prifuk.cz>
Sat, 15 Mar 2014 17:33:21 +0000 (18:33 +0100)
imagedrawer.cpp

index 8f2a676d5c1c69a74532a6e8e6d956b87354f790..e7e81256cc3c6e44e1d096b80e312b6d4e3f78f8 100644 (file)
@@ -35,6 +35,7 @@ ImageDrawer::ImageDrawer(std::shared_ptr<SignalController> controller, QObject*
   m_controller(controller)
 {
   m_imageWriter.setCompression(0);
+  m_imageWriter.setQuality(100);
 }
 
 ImageDrawer::ReturnCode ImageDrawer::render(const QString& filename, const QByteArray format, const int width, const int height,