Page 1 of 1

problems converting tiff files

Posted: 2013-05-21T11:09:39-07:00
by gursch
I have problems converting tiff files to jpeg or any other format. The tiffs have transparency and after converting the images show strange colours. I used the convert command: convert tiff-test.tif out.jpg

Here is a sample file:
https://www.dropbox.com/s/r0szsducaj9zd6t/tiff-test.tif

Can you have a look at it?

Thanks
Alexander

Re: problems converting tiff files

Posted: 2013-05-21T11:34:42-07:00
by fmw42
Works fine for me, but gives a warning only about one of the meta fields. The JPG does get created. Though it has some strange colors.


convert tiff-test.tif tiff-test.jpg
convert: tiff-test.tif: wrong data type 7 for "RichTIFFIPTC"; tag ignored. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/824.


However, jpg does not support transparency. So it will be lost. If you want the same look then flatten it first

convert tiff-test.tif -background "gray(50%)" -flatten tiff-test2.jpg

You may have to adjust the 50% to something else to get a good match.