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: 7
Joined: 2018-03-06T05:29:40-07:00
Authentication code: 1152

IMDisplayDoc function "Tag 32934" Null count error

Post by Ganesh_B » 2018-03-06T06:20:32-07:00

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: 10697
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 » 2018-03-06T06:50:22-07:00

Put the file anywhere on the net, and paste the URL here.
snibgo's IM pages: im.snibgo.com

Ganesh_B
Posts: 7
Joined: 2018-03-06T05:29:40-07:00
Authentication code: 1152

Re: IMDisplayDoc function "Tag 32934" Null count error

Post by Ganesh_B » 2018-03-06T07:18:48-07:00

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: 10697
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 » 2018-03-06T07:56:41-07:00

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: 10841
Joined: 2003-05-31T11:32:55-07:00

Re: IMDisplayDoc function "Tag 32934" Null count error

Post by magick » 2018-03-07T16:20:12-07:00

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: 7
Joined: 2018-03-06T05:29:40-07:00
Authentication code: 1152

Re: IMDisplayDoc function "Tag 32934" Null count error

Post by Ganesh_B » 2018-04-18T23:28:30-07:00

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

Post Reply