Re: Convert Tif to PNG

Fred Weinhaus <[email protected]> Mon, 4 Apr 2011 20:46:30 -0700
Newsgroups gmane.comp.video.image-magick.user
Message-ID <p06240804c9c03f73c6e8@[192.168.1.2]>
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.



>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...