Page 1 of 1

Unknown field with tag 32934 (0x80a6) encountered

Posted: 2013-05-27T02:50:36-07:00
by gattu_koli
Hi,
We are getting following error while converting tiff to jpg,

convert.exe: Unknown field with tag 32934 (0x80a6) encountered. `TIFFReadDirecto
ry' @ warning/tiff.c/TIFFWarnings/824.
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: Unknown field with tag 32934 (0x80a6) encountered. `TIFFReadDirecto
ry' @ warning/tiff.c/TIFFWarnings/824.
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.

Tried using -quiet argument. Still not able to suppress the error.

Kindly help.

Re: Unknown field with tag 32934 (0x80a6) encountered

Posted: 2013-05-27T07:05:25-07:00
by snibgo
"Unknown field" is just a warning, but "Improper call to JPEG library in state 0" is a fatal error.

To help us help you:
- tell us which version of IM, and which platform, you are using
- tell us the exact command you are using
- supply the input image.

Re: Unknown field with tag 32934 (0x80a6) encountered

Posted: 2013-05-27T22:59:20-07:00
by gattu_koli
Hi snibgo,
Thanks for the revert. We have tried following versions and got same error msg,

1. Imagemagick version - 6.2.8, OS-Linux 2.6.18-128.e15 x86_64
2. Imagemagick version - 6.8.0-10, OS-Windows 7

Command - convert <filename>.tif[0] -resize 1800x -crop 460x550+1350+10 <filename>_photo.jpg
Sample image is uploaded to http://www.mediafire.com/?iy77dm9ku12c983

Regards

Re: Unknown field with tag 32934 (0x80a6) encountered

Posted: 2013-05-28T01:08:51-07:00
by GreenKoopa
gattu_koli wrote:Unknown field with tag 32934 (0x80a6) encountered
Hi,
We are getting following error while converting tiff to jpg,
Specifically, you are getting an error while reading your tiff file, not in converting to jpeg. I also agree with snibgo that "unknown field" is usually a harmless warning. It means that IM is ignoring metadata it doesn't understand. Tiff is a catch-all format where proprietary fields are not uncommon. For example, your scanner may have noted the scan settings or recorded some OCR data.
gattu_koli (quoting IM) wrote:Depreciated and troublesome old-style JPEG compression mode, please convert to new-style JPEG compression and notify vendor of writing software.
GIMP throws the exact same error while reading the image, so both probably delegate reading to libtiff. However, GIMP recovers more, maybe all, of the two images.

Re: Unknown field with tag 32934 (0x80a6) encountered

Posted: 2013-05-28T01:44:59-07:00
by snibgo
The conversion has warnings (which can be ignored) and an error. Fortunately, the error doesn't seem to be fatal, and we get two images.

Re: Unknown field with tag 32934 (0x80a6) encountered

Posted: 2013-05-28T01:56:14-07:00
by GreenKoopa
The error isn't fatal, but I also don't get full images as I do with GIMP.

IM 6.8.5-6 2013-05-10 Q16 on Windows 7
GIMP 2.8.4

Re: Unknown field with tag 32934 (0x80a6) encountered

Posted: 2013-05-28T04:08:40-07:00
by snibgo
Ah, yes, I hadn't checked against Gimp (2.8.2). IM creates two images, but not all of each image. Tested with a variety of versions on Windows.

The source file has a problem.

Re: Unknown field with tag 32934 (0x80a6) encountered

Posted: 2013-05-30T23:12:45-07:00
by gattu_koli
Thanks all for the replies.
Could you please share any standard tiff and pdf parameters which are supported by Imagemagick 6.2.8 so that we can follow these parameters while creating the files.
Because these files are created by using third party image creation software which might use some non standard image compression algorithms which Imagemagick doesnot recognizes.