Hello,
IM is not able to read some of my tif files.
I didn't find a way out of this problem.
The command is
convert "x.tif" -quiet -resize 95% png:x.png
The output is
convert.exe: x.tif: Null count for "Tag 34022" (type 1, writecount -3, passcount 1). `_TIFFVSetField' @ error/tiff.c/TIFFErrors/552.
convert.exe: x.tif: Null count for "Tag 34025" (type 1, writecount -3, passcount 1). `_TIFFVSetField' @ error/tiff.c/TIFFErrors/552.
convert.exe: x.tif: Null count for "Tag 34026" (type 1, writecount -3, passcount 1). `_TIFFVSetField' @ error/tiff.c/TIFFErrors/552.
convert.exe: x.tif: Null count for "Tag 34031" (type 1, writecount -3, passcount 1). `_TIFFVSetField' @ error/tiff.c/TIFFErrors/552.
On the command-line it does still produce a png file. However, as I'm using IM through img4java, these errors stuck im4java which throws a org.im4java.core.CommandException.
Same problem with IMDisplay.
I'm using ImageMagick-6.9.0-Q16, x86, on Windows7.
Any idea how to solve this problem ?
Thanks
Errors while converting tiff
Re: Errors while converting tiff
Nobody to help me with this problem ?
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Errors while converting tiff
Have you tried "tiff:ignore-tags=comma-separate-list-of-tag-IDs"? See http://www.imagemagick.org/script/comma ... php#define
If you upload a sample file, someone might take a look.
If you upload a sample file, someone might take a look.
snibgo's IM pages: im.snibgo.com
-
- Posts: 12
- Joined: 2013-12-03T15:56:51-07:00
- Authentication code: 6789
Re: Errors while converting tiff
I believe this may be a bug in 64-bit libtiff where a TIFF IFD contains a data type of long with a value zero. I'm guessing that libtiff may be treating the value as an offset, but that's just a guess and I could be wrong.
I've been looking into this for the last few hours and so far have not found a solution.
Anyone else have better luck with this issue?
I've been looking into this for the last few hours and so far have not found a solution.
Anyone else have better luck with this issue?