Page 1 of 1

compressing TIFF without loosing the layers

Posted: 2009-07-10T07:45:21-07:00
by lriou
hello everyone,
I'm very new to this. I'm trying to gain space on a HD by compressing every tiff file on the drive. I've allready spent hours fixing the recursive dos script and make everything work, but now I'm lost. Output files are compressed as I need, but I loose layers : the file is flattened : only the background is left.

I use this command :
convert -compress lzw [filename] [filename]

If there is there any simple switch to prevent the merging, I can't find it.

Has anyone any clue about this ?
thanks.

Re: compressing TIFF without loosing the layers

Posted: 2009-07-10T09:54:53-07:00
by fmw42
have you tried

convert filename -compress lzw filename

see http://www.imagemagick.org/Usage/formats/#tiff

for further info about Tiff