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
problems converting tiff files
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: problems converting tiff files
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.
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.