Page 1 of 1

Problem with convert Tiff file

Posted: 2009-08-12T03:34:02-07:00
by EmilF
Then I convert this Tiff file to jpg (or png, gif etc) They become almost totally black. (I have aboute 50 images with this problem).
I use version: ImageMagick-6.5.4-10-Q8-windows-static.exe

Code: Select all

C:\Program Files\ImageMagick-6.5.4-Q8>convert cow.tif cow.jpg
convert: cow.tif: unknown field with tag 37724 (0x935c) encountered. `TIFFReadDirectory' @ tiff.c/TIFFWarnings/546.
convert: Compression algorithm does not support random access. `cow.tif' @ tiff.c/TIFFErrors/336.
Example file (17 Mbyte):
http://www.optimaker.com/optimaker/inte ... cs/cow.tif

Re: Problem with convert Tiff file

Posted: 2009-08-12T05:21:02-07:00
by Heiler81
Are there any channels in that tif. If yes try -flatten

Re: Problem with convert Tiff file

Posted: 2009-08-12T07:00:13-07:00
by EmilF
The only channels are the RGB colors.
It didnt work with -flatten.
If I use -strip I can eliminate the warning message but output jpg will still be "black".

Re: Problem with convert Tiff file

Posted: 2009-08-12T08:50:53-07:00
by magick
We can reproduce the problem you posted and have a patch. Look for it in the Subversion trunk by tomorrow and in the next point release. Thanks.