Discussion:
Convert Tif to PNG
Ben Marchbanks
2011-04-04 17:48:43 UTC
Permalink
Can someone test this tif file to see if it can be converted to png
successfully ?

http://magazooms.com/tmp/110316195160_0.tif

I cannot overcome an error regarding the sampling-factor and attempts to
set sampling-factor are ignored.
I'm wondering if there is an issue in the tif...
--
*Ben Marchbanks*
<http://www.magazooms.com>
<http://www.itunes.com/app/mzreader>
Fred Weinhaus
2011-04-05 03:46:30 UTC
Permalink
I believe that your tif is not created correctly. Many viewers won't
even open it. GraphicConvert (Mac) seems to handle it. But IM gives
errors (though it creates the image, but it is black):

convert 110316195160_0.tif -colorspace rgb 110316195160_0.png
convert: Improper JPEG sampling factors 2,2
Apparently should be 1,1.. `JPEGPreDecode' @ warning/tiff.c/TIFFWarnings/706.
convert: Cannot honour JPEG sampling factors that exceed those
specified.. `JPEGPreDecode' @ error/tiff.c/TIFFErrors/496.


Note that PNG does not support CMYK format and your tiff is CMYK. So
it needs to be converted to RGB by -colorspace or by profiles.
Post by Ben Marchbanks
Can someone test this tif file to see if it can be converted to png
successfully ?
http://magazooms.com/tmp/110316195160_0.tif
I cannot overcome an error regarding the sampling-factor and attempts to
set sampling-factor are ignored.
I'm wondering if there is an issue in the tif...
Continue reading on narkive:
Loading...