Skip to content
Commit 0f259d9b authored by Christoph Feck's avatar Christoph Feck
Browse files

Change default compression quality from 90 to 89

Qt's PNG ImageWriter (ab)uses setQuality() for setCompression(),
which causes "no compression" for any quality value larger than 89.
See https://bugreports.qt.io/browse/QTBUG-43618

For screenshots, which usually have large areas of flat colors,
uncompressed files are very large (e.g. 24 MB for a 4K screen).
Sharing screenshots directly is quite common, so users won't notice
immediately that they are sharing big files.

Changing the quality value from 90 to 89 doesn't severely degrade
quality for JPEG files until we find a better solution,

CCBUG: 406263
parent 9ac19cee
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment