SVN commit 539215 by cgilles:
digikam from trunk : DImg TIFF image loader : force to use ZLib max compression level when a new image is saved to disk using Deflate compression.
CCMAIL:
[hidden email]
CCBUGS: 125779
M +3 -0 tiffloader.cpp
--- trunk/extragear/graphics/digikam/libs/dimg/loaders/tiffloader.cpp #539214:539215
@@ -399,7 +399,10 @@
bool compress = compressAttr.isValid() ? compressAttr.toBool() : false;
if (compress)
+ {
TIFFSetField(tif, TIFFTAG_COMPRESSION, COMPRESSION_DEFLATE);
+ TIFFSetField(tif, TIFFTAG_ZIPQUALITY, 9);
+ }
else
TIFFSetField(tif, TIFFTAG_COMPRESSION, COMPRESSION_NONE);
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel