Page 1 of 1

Error converting tiff to jpg linux

Posted: 2013-06-01T13:34:37-07:00
by gattu_koli
Hi,
Tiff conversion works fine on windows xp with some warnings but fails on linux with error.
I am using imagemagick 6.8.5-8 on both os.

Image URL - http://www.mediafire.com/?bypimn10z5sljfy

identify: CEF_8801775423.Tif: unknown field with tag 512 (0x200) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/824.
identify: CEF_8801775423.Tif: unknown field with tag 513 (0x201) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/824.
identify: CEF_8801775423.Tif: unknown field with tag 514 (0x202) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/824.
identify: Invalid YCbCr subsampling. `CEF_8801775423.Tif' @ error/tiff.c/TIFFErrors/562.
identify: CEF_8801775423.Tif: cannot handle zero strip size. `TIFFReadDirectory' @ error/tiff.c/TIFFErrors/562.

Re: Error converting tiff to jpg linux

Posted: 2013-06-13T23:29:19-07:00
by gazzateo
Can you post the convert string?
Thank you

P.S.: I'm not enable to download image from that link

Re: Error converting tiff to jpg linux

Posted: 2013-06-14T08:35:23-07:00
by GreenKoopa
I'm not sure about windows verses linux. Take a look in delegates.xml - is there a difference between the platforms?

Is this the same scanner that produced the pdf file you were having trouble with earlier? tiff and pdf may both be using jpg internally, and your problem appears to be with your scanners encoding of jpg. Have you tried scanning to png?

Re: Error converting tiff to jpg linux

Posted: 2013-06-15T05:33:57-07:00
by rich2005
Just for info: using PClinuxOS
and
Version: ImageMagick 6.8.0-2 2013-04-13 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
Features: OpenMP

This is the output

$ identify CEF_8686000047.Tif
CEF_8686000047.Tif[0] TIFF 747x1174 747x1174+0+0 8-bit sRGB 278KB 0.000u 0:00.009
CEF_8686000047.Tif[1] TIFF 747x1174 747x1174+0+0 8-bit sRGB 278KB 0.000u 0:00.000
CEF_8686000047.Tif[2] TIFF 747x1174 747x1174+0+0 8-bit sRGB 278KB 0.000u 0:00.000
CEF_8686000047.Tif[3] TIFF 747x1174 747x1174+0+0 8-bit sRGB 278KB 0.000u 0:00.000

identify: ASCII value for tag "Software" does not end in null byte. `TIFFFetchNormalTag' @ warning/tiff.c/TIFFWarnings/824.
$ convert CEF_8686000047.Tif test.jpg
convert: ASCII value for tag "Software" does not end in null byte. `TIFFFetchNormalTag' @ warning/tiff.c/TIFFWarnings/824.
convert: Depreciated and troublesome old-style JPEG compression mode, please convert to new-style JPEG compression and notify vendor of writing software. `OJPEGSetupDecode' @ warning/tiff.c/TIFFWarnings/824.
convert: ASCII value for tag "Software" does not end in null byte. `TIFFFetchNormalTag' @ warning/tiff.c/TIFFWarnings/824.
convert: Depreciated and troublesome old-style JPEG compression mode, please convert to new-style JPEG compression and notify vendor of writing software. `OJPEGSetupDecode' @ warning/tiff.c/TIFFWarnings/824.
convert: ASCII value for tag "Software" does not end in null byte. `TIFFFetchNormalTag' @ warning/tiff.c/TIFFWarnings/824.
convert: Depreciated and troublesome old-style JPEG compression mode, please convert to new-style JPEG compression and notify vendor of writing software. `OJPEGSetupDecode' @ warning/tiff.c/TIFFWarnings/824.
convert: ASCII value for tag "Software" does not end in null byte. `TIFFFetchNormalTag' @ warning/tiff.c/TIFFWarnings/824.
convert: Depreciated and troublesome old-style JPEG compression mode, please convert to new-style JPEG compression and notify vendor of writing software. `OJPEGSetupDecode' @ warning/tiff.c/TIFFWarnings/824.

Some problem with that tif format, same result if you try just one page or convert to (say) png.

edit:

But for all the errors, the jpegs ended up created, so did a png I tried.

http://i.imgur.com/axbA7bZ.jpg