Unknown field with tag 32934 (0x80a6) encountered

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
gattu_koli
Posts: 10
Joined: 2013-01-24T21:44:53-07:00
Authentication code: 6789

Unknown field with tag 32934 (0x80a6) encountered

Post 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.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

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

Post 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.
snibgo's IM pages: im.snibgo.com
gattu_koli
Posts: 10
Joined: 2013-01-24T21:44:53-07:00
Authentication code: 6789

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

Post 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
User avatar
GreenKoopa
Posts: 457
Joined: 2010-11-04T17:24:08-07:00
Authentication code: 8675308

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

Post 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.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

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

Post 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.
snibgo's IM pages: im.snibgo.com
User avatar
GreenKoopa
Posts: 457
Joined: 2010-11-04T17:24:08-07:00
Authentication code: 8675308

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

Post 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
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

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

Post 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.
snibgo's IM pages: im.snibgo.com
gattu_koli
Posts: 10
Joined: 2013-01-24T21:44:53-07:00
Authentication code: 6789

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

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