Magick++ setting options for zip and lzw coders

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
tsftd
Posts: 28
Joined: 2012-01-14T11:46:55-07:00
Authentication code: 8675308

Magick++ setting options for zip and lzw coders

Post 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).
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

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

Post 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.
snibgo's IM pages: im.snibgo.com
tsftd
Posts: 28
Joined: 2012-01-14T11:46:55-07:00
Authentication code: 8675308

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

Post 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.
Post Reply