Page 1 of 1

IMDisplayDoc function "Tag 32934" Null count error

Posted: 2018-03-06T06:20:32-07:00
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.

Re: IMDisplayDoc function "Tag 32934" Null count error

Posted: 2018-03-06T06:50:22-07:00
by snibgo
Put the file anywhere on the net, and paste the URL here.

Re: IMDisplayDoc function "Tag 32934" Null count error

Posted: 2018-03-06T07:18:48-07:00
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.

Re: IMDisplayDoc function "Tag 32934" Null count error

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

Re: IMDisplayDoc function "Tag 32934" Null count error

Posted: 2018-03-07T16:20:12-07:00
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.

Re: IMDisplayDoc function "Tag 32934" Null count error

Posted: 2018-04-18T23:28:30-07:00
by Ganesh_B
Thank you magick, Last information provided was very much helpful. Thank you snibgo.