convert command giving unknown field with tag 326 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
amitgupta01
Posts: 2
Joined: 2017-04-09T08:37:45-07:00
Authentication code: 1151

convert command giving unknown field with tag 326 Error

Post by amitgupta01 »

Hi All,

While breaking multipage tiff file using convert command, I am getting following warning and tiff file is not getting splitted.

convert.exe: Unknown field with tag 326 (0x146) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/891.
convert.exe: Unknown field with tag 327 (0x147) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/891.
convert.exe: Unknown field with tag 59932 (0xea1c) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/891.
convert.exe: Unknown field with tag 59932 (0xea1c) encountered. `TIFFReadCustomDirectory' @ warning/tiff.c/TIFFWarnings/891.
convert.exe: Unknown field with tag 326 (0x146) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/891.
convert.exe: Unknown field with tag 327 (0x147) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/891.
convert.exe: Unknown field with tag 59932 (0xea1c) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/891.
convert.exe: Unknown field with tag 326 (0x146) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/891.
convert.exe: Unknown field with tag 327 (0x147) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/891.
convert.exe: Unknown field with tag 59932 (0xea1c) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/891.
convert.exe: Unknown field with tag 59932 (0xea1c) encountered. `TIFFReadCustomDirectory' @ warning/tiff.c/TIFFWarnings/891.
convert.exe: Unknown field with tag 326 (0x146) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/891.
convert.exe: Unknown field with tag 327 (0x147) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/891.
convert.exe: Unknown field with tag 59932 (0xea1c) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/891.

Can anyone explain when this error comes and how to fix this issue or is it a bug?

Regards,
Amit Gupta
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: convert command giving unknown field with tag 326 Error

Post by Bonzo »

Do you get any output as it is a warning not an error?
What is you command?
Do you have a file you can upload for testing?
What version of IM are you using?
What operating system/language are you using?
amitgupta01
Posts: 2
Joined: 2017-04-09T08:37:45-07:00
Authentication code: 1151

Re: convert command giving unknown field with tag 326 Error

Post by amitgupta01 »

Hi Bonzo,
The files get split into single page tiff. I am using convert b.tif c%d.tif command for the same.
The version of IM is Version: ImageMagick 6.9.3-2 Q16 x64 2016-01-23
I am using Windows 7 for the same.

Now the issue is if I directly use LibTiff command "tiffsplit.exe b.tif c.tif" It gives me the same error as mentioned but the generated files are corrupt.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: convert command giving unknown field with tag 326 Error

Post by snibgo »

As Bonzo says, there are no errors in that list; only warnings. "-quiet" will suppress warnings.

Your input file may be corrupt. Can you post it to somewhere like dropbox.com and paste the URL here?
snibgo's IM pages: im.snibgo.com
Post Reply