summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/export/pngexporter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/export/pngexporter.cpp b/src/export/pngexporter.cpp
index 67725b7..ffb9c4e 100644
--- a/src/export/pngexporter.cpp
+++ b/src/export/pngexporter.cpp
@@ -45,5 +45,5 @@ PngExporter::exportToFile(const QString &fileName, DiagramDocument *document)
document->print(&painter, image.rect(), boundingRect);
- image.convertToFormat(QImage::Format_Indexed8).save(fileName, "PNG");
+ image.convertToFormat(QImage::Format_Indexed8, Qt::ThresholdDither | Qt::AvoidDither).save(fileName, "PNG");
}