Page 1 of 1

Magick++ setting options for zip and lzw coders

Posted: 2017-03-21T02:59:15-07:00
by tsftd
I was just wondering if it's possible to set options for the zip and lzw coders? When using LZWCompression or ZipCompression, quality does not seem to affect them (which makes sense, as quality is for the image itself, and LZW/Zip are being used as wrappers).

Re: Magick++ setting options for zip and lzw coders

Posted: 2017-03-21T05:44:31-07:00
by snibgo
I don't think there are any settings for LZW.

The documentation http://www.imagemagick.org/script/comma ... hp#quality says that "-quality" does affect Zip compression of MIFF and TIFF formats. Zip is lossless, so this would affect just the filesize.

However, trying this at the command line, the filesize is unchanged.

Re: Magick++ setting options for zip and lzw coders

Posted: 2017-03-22T00:44:24-07:00
by tsftd
I can confirm that quality does affect compressType ZipCompression (and LZWCompression, if I recall), but I mean access to the actual zip settings (fastbytes and passes) rather than presets.