IMDisplayDoc function "Tag 32934" Null count error

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
Ganesh_B
Posts: 13
Joined: 2018-03-06T05:29:40-07:00
Authentication code: 1152

IMDisplayDoc function "Tag 32934" Null count error

Post by Ganesh_B »

Hi ImageMagick,

I am a developer. Our Customer complained that attached image 'FILLPAGE.tif' is not getting opened/converted with ImageMagick '6.9.1-2'. I also tried ImageMagick '7.0.7-21' binary install. Still I am not able to open the attached file. ImageMagick application was popping up below error and image of error is also attached.

IMDisplayDoc function [DoReadImage] reported an error.
imdisplay.exe : Null count for "Tag 32934" (type 4, writecount -3, passcount 1). '_TIFFVSetField error 645

I have questions as below and need a solution.

- "What is the reason this specific file is throwing with latest ImageMagick 7.0.7-21" also
- "Can this be resolved in next version of ImageMagick or Hotfix/Fixpack"
- "Can this file or similar files with same error(at opening) be fixed by modifying the file itself or correcting the source application of image"

>> No link to attach files, please send the procedure to attach Image file.

Regards,
Ganesh.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: IMDisplayDoc function "Tag 32934" Null count error

Post by snibgo »

Put the file anywhere on the net, and paste the URL here.
snibgo's IM pages: im.snibgo.com
Ganesh_B
Posts: 13
Joined: 2018-03-06T05:29:40-07:00
Authentication code: 1152

Re: IMDisplayDoc function "Tag 32934" Null count error

Post by Ganesh_B »

Hi, Below are the images as described at the beginning -

->Problem Image File - 'FILLPAGE.tif'
https://drive.google.com/open?id=1nX6sG ... G7dtst95jq

->Image of IMDisplayDoc function [DoReadImage] reported an error.
https://drive.google.com/open?id=1EWeA6 ... izfKmsi0qp

-> Zip of Problem Image File - 'FILLPAGE.tif'
https://drive.google.com/open?id=1nONGl ... h6cANWr66-

I have questions as below and need a solution.

- "What is the reason this specific file is throwing with latest ImageMagick 7.0.7-21" also
- "Can this be resolved in next version of ImageMagick or Hotfix/Fixpack"
- "Can this file or similar files with same error(at opening) be fixed by modifying the file itself or correcting the source application of image"

Regards,
Ganesh.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: IMDisplayDoc function "Tag 32934" Null count error

Post by snibgo »

Windows Photo Viewer can read the file and show an image.

Gimp v2.8.10 can also successfully read the image.

With IM versions v6.9.5-3 and 7.0.3-5, I get a warning and an error:

Code: Select all

identify.exe: Unknown field with tag 32934 (0x80a6) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/896.
identify.exe: FILLPAGE.tif: Null count for "Tag 32934" (type 4, writecount -3, passcount 1). `_TIFFVSetField' @ error/tiff.c/TIFFErrors/562.
I suspect TIFFlib reports the error, and ImageMagick won't override that. I suspect there is a problem in whatever software created FILLPAGE.tif.

The program "tiffcp" reports the error, but still copies the image, without copying the problem:

Code: Select all

tiffcp FILLPAGE.tif tmp.tif
So a workaround is to first use tiffcp.

A developer may comment further.
snibgo's IM pages: im.snibgo.com
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: IMDisplayDoc function "Tag 32934" Null count error

Post by magick »

The latest releases of ImageMagick 6.9.9-37 and 7.0.7-25 can read the image you posted. It does report a warning and an error but the conversion appears to be correct.
Ganesh_B
Posts: 13
Joined: 2018-03-06T05:29:40-07:00
Authentication code: 1152

Re: IMDisplayDoc function "Tag 32934" Null count error

Post by Ganesh_B »

Thank you magick, Last information provided was very much helpful. Thank you snibgo.
Post Reply