Page 1 of 1

Image converting to black

Posted: 2013-06-25T00:09:48-07:00
by gattu_koli
Hi,

I am getting black image while converting tiff to jpg. Image opens fine in windows.

Getting below error,

convert.exe: Depreciated and troublesome old-style JPEG compression mode, please
convert to new-style JPEG compression and notify vendor of writing software. `O
JPEGSetupDecode' @ warning/tiff.c/TIFFWarnings/824.
convert.exe: Improper call to JPEG library in state 0. `LibJpeg' @ error/tiff.c/
TIFFErrors/562.
convert.exe: Depreciated and troublesome old-style JPEG compression mode, please
convert to new-style JPEG compression and notify vendor of writing software. `O
JPEGSetupDecode' @ warning/tiff.c/TIFFWarnings/824.
convert.exe: Improper call to JPEG library in state 0. `LibJpeg' @ error/tiff.c/
TIFFErrors/562.

Image URL - http://www.mediafire.com/?8d4si0sy311o4x3
http://www.mediafire.com/?2xkp75am361l5pq

What would be the issue. We have huge data to be converted into jpg. Kindly suggest.
Imagemagick version - 6.8.0-10 OS windows

Regards

Re: Image converting to black

Posted: 2013-06-25T05:26:22-07:00
by gattu_koli
Irfanview convert the images successfully.

Re: Image converting to black

Posted: 2013-06-25T07:16:49-07:00
by snibgo
We have seen these images before.

As Irfanview can read them, I suggest you use it to batch convert the files.

Re: Image converting to black

Posted: 2013-06-25T10:42:07-07:00
by fmw42
Your error messages are all pointing to some ancient jpg compression used when creating the tiff files. You should either disable jpg compression or use some other compression when creating your tiff files. Apparently libjpeg, which IM uses to handle the jpg compression, does not know what to do with it. Thus IM will not be able to process these files. If you have some other tool that will read them, then you should use that.

By the way, Photoshop and Mac Preview cannot open them either, though GraphicConverter on the Mac can open it.