You need to log in before you can comment on or make changes to this bug.
Hello, I have several TIFFs that we need to convert to PNG and I'm using imagemagick as a commandline tool in the backend. The problem is that ImageMagick is experiencing an error during conversion with some of the tiffs (http://www.2shared.com/complete/vnb96t_9/error.html). convert.exe: Unknown field with tag 292 (0x124) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/824. convert.exe: Bad code word at line 5151 of strip 0 (x 3744). `Fax4Decode' @ error/tiff.c/TIFFErrors/562. However, the TIFF can be viewed properly in the IMDisplay and other TIFF viewers and identify.exe doesn't encounter the error. The PNG image is actually generated even though the above error is encountered however my program checks the error status which will be set to non-zero and the program will mark the conversion as failed. From my initial investigation, this seems an error related to the compression used in TIFF (and I'm thinking that the underlying libtiff is throwing this). I'm not sure if this bug is related (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=630042) Though I can't find a post with the exact error as mine. Can someone advise the cause and if the error can be ignored and if imagemagick can handle or ignore the error? I can ignore the above error via handling in my program and be satisfied with the PNG but I'm reluctant as I do not really know the exact cause of this error and it seems like the error message used is a general one (can i use "Fax4Decode' @ error/tiff.c/TIFFErrors/562" as the specific error indicator so I can ignore it?). Tested with: Windows XP SP2, ImageMagick-6.8.5-6 (portable version) Thanks
It is going to be difficult to do anything meaningful about this without a file demonstrating the issue.
Created an attachment (id=505) [details] Sample TIFF
(In reply to comment #1) > It is going to be difficult to do anything meaningful about this without a file > demonstrating the issue. The file download link is in the link in the description so didn't attach the file. Though I've attached the file now. Thanks
Bugzilla is no longer used for tracking libtiff issues. Remaining open tickets, such as this one, have been migrated to the libtiff GitLab instance at https://gitlab.com/libtiff/libtiff/issues . The migrated tickets have their summary prefixed with [BZ#XXXX] where XXXX is the initial Bugzilla issue number.