that's all well and good, but if you want to change compression, it's easy to do so. if you want to retain the settings of the original, not changing anything is the intuitive thing.
image.compressType(image.compressType());
is not a code that seems like it should do anything, but it does.
Search found 2 matches
- 2014-03-07T03:02:03-07:00
- Forum: Bugs
- Topic: Magick++ tiff loses compression
- Replies: 4
- Views: 6047
- 2014-03-06T14:51:06-07:00
- Forum: Bugs
- Topic: Magick++ tiff loses compression
- Replies: 4
- Views: 6047
Magick++ tiff loses compression
on current IM 6.8.8.7, when you do image.read("group4.tif"); image.write("test.tif"); the resulting image is not compressed anymore. if you insert image.compressType(image.compressType()); it has indeed the same compression as the source. i traced this back to this change: http://trac.imagemagick ...