how smart is convert's -compress option?

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
hermit

how smart is convert's -compress option?

Post by hermit »

I have a bunch of JPG files that I want to convert to TIFF. I don't want to uncompress them and recompress them, I just want a TIFF file containing the same compressed data as the JPG file did.

If I do

convert old.jpg -compress JPEG new.tif

is convert smart enough to do this?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: how smart is convert's -compress option?

Post by fmw42 »

My understanding is that IM convert will always reprocess the image (even if you simply noop convert input.jpg output.tiff). But I will defer to the IM folks for correction.
ironhacker

Re: how smart is convert's -compress option?

Post by ironhacker »

Agreed. I would like to see an option to pass through the image without a needless uncompress/re-compress cycle.
Post Reply