Reduce file size of a tiff-image

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
micommo
Posts: 4
Joined: 2012-06-16T05:36:03-07:00
Authentication code: 13

Reduce file size of a tiff-image

Post by micommo »

Hi,
I´m looking for a way to create lay files from tiff images. For jpgs there is the convert -quality way which doesn´t work for tiffs. The only option I found so far is convert -strip -density 72 which removes around 10k from a 5 Mb file. Is there any other way?

Best regards,

Mike
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Reduce file size of a tiff-image

Post by fmw42 »

convert from 24-bit color to 8bit color by adding -type palette before saving to either tiff or png or gif
micommo
Posts: 4
Joined: 2012-06-16T05:36:03-07:00
Authentication code: 13

Re: Reduce file size of a tiff-image

Post by micommo »

Thanks for the tip. Testing it with 'convert -type palette org.tif new.tif' the file size is reduzed by around 20%. I´m looking for a way to reduze to 20% or around that. Any additional options I may try?

Regards,

Mike
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Reduce file size of a tiff-image

Post by fmw42 »

Proper IM 6 syntax is

convert org.tif -type palette new.tif

try

convert org.tif -strip -type palette new.tif

to remove any meta data. Some profiles are very big.
Post Reply