Magick++ tiff loses compression
Posted: 2014-03-06T14:51:06-07:00
on current IM 6.8.8.7, when you do
the resulting image is not compressed anymore.
if you insert
it has indeed the same compression as the source.
i traced this back to this change:
http://trac.imagemagick.org/changeset/1 ... ers/tiff.c
which in my opinion doesn't make any sense.
in
the first two lines are redundant, anyway.
Code: Select all
image.read("group4.tif");
image.write("test.tif");
if you insert
Code: Select all
image.compressType(image.compressType());
i traced this back to this change:
http://trac.imagemagick.org/changeset/1 ... ers/tiff.c
which in my opinion doesn't make any sense.
in
Code: Select all
compression=UndefinedCompression;
if (image_info->compression != UndefinedCompression)
compression=image_info->compression;