convert Tif => PDF Error in 7.0.7-28, not in 7.0.7-0 and 7.0.3-4
convert Tif => PDF Error in 7.0.7-28, not in 7.0.7-0 and 7.0.3-4
Hello,
i have a problem with the newest versions (7.0.7-28 an 7.0.7-29beta).
With this i can not convert tif files to pdf and have this warnings and errors:
convert.exe test.tif test.pdf
convert.exe: ASCII value for tag "Make" contains null byte in value; value incorrectly truncated during reading due to implementation limitations. `TIFFFetchNormalTag' @ warning/tiff.c/TIFFWarnings/1000.
convert.exe: ASCII value for tag "Model" contains null byte in value; value incorrectly truncated during reading due to implementation limitations. `TIFFFetchNormalTag' @ warning/tiff.c/TIFFWarnings/1000.
convert.exe: improper image header `test.tif' @ error/tiff.c/ReadTIFFImage/1737.
convert.exe: no images defined `test.pdf' @ error/convert.c/ConvertImageCommand/3275.
With 7.0.7-0 and 7.0.3-4 it works.
There are only the warnings:
convert.exe test.tif test.pdf
convert.exe: ASCII value for tag "Make" contains null byte in value; value incorrectly truncated during reading due to implementation limitations. `TIFFFetchNormalTag' @ warning/tiff.c/TIFFWarnings/921.
convert.exe: ASCII value for tag "Model" contains null byte in value; value incorrectly truncated during reading due to implementation limitations. `TIFFFetchNormalTag' @ warning/tiff.c/TIFFWarnings/921.
Best regards
Michael
i have a problem with the newest versions (7.0.7-28 an 7.0.7-29beta).
With this i can not convert tif files to pdf and have this warnings and errors:
convert.exe test.tif test.pdf
convert.exe: ASCII value for tag "Make" contains null byte in value; value incorrectly truncated during reading due to implementation limitations. `TIFFFetchNormalTag' @ warning/tiff.c/TIFFWarnings/1000.
convert.exe: ASCII value for tag "Model" contains null byte in value; value incorrectly truncated during reading due to implementation limitations. `TIFFFetchNormalTag' @ warning/tiff.c/TIFFWarnings/1000.
convert.exe: improper image header `test.tif' @ error/tiff.c/ReadTIFFImage/1737.
convert.exe: no images defined `test.pdf' @ error/convert.c/ConvertImageCommand/3275.
With 7.0.7-0 and 7.0.3-4 it works.
There are only the warnings:
convert.exe test.tif test.pdf
convert.exe: ASCII value for tag "Make" contains null byte in value; value incorrectly truncated during reading due to implementation limitations. `TIFFFetchNormalTag' @ warning/tiff.c/TIFFWarnings/921.
convert.exe: ASCII value for tag "Model" contains null byte in value; value incorrectly truncated during reading due to implementation limitations. `TIFFFetchNormalTag' @ warning/tiff.c/TIFFWarnings/921.
Best regards
Michael
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: convert Tif => PDF Error in 7.0.7-28, not in 7.0.7-0 and 7.0.3-4
For v7, I suggest you use "magick", not "convert".
I use v7.0.7-28 with tiff files, without encountering that problem.
Does it happen with all tiff files? Only those made by certain software? What does "magick identify" say about the file? Can other software (eg Gimp, viewers) read the file?
If that doesn't help, I suggest you upload it somewhere and provide a link. If it's more than a few MB I won't be able to download it.
So the error is in reading the tiff file. Perhaps the tiff file has an error that wasn't picked up by previous versions of IM or (more likely) libtiff.michaeln wrote:convert.exe: improper image header `test.tif' @ error/tiff.c/ReadTIFFImage/1737.
I use v7.0.7-28 with tiff files, without encountering that problem.
Does it happen with all tiff files? Only those made by certain software? What does "magick identify" say about the file? Can other software (eg Gimp, viewers) read the file?
If that doesn't help, I suggest you upload it somewhere and provide a link. If it's more than a few MB I won't be able to download it.
snibgo's IM pages: im.snibgo.com
Re: convert Tif => PDF Error in 7.0.7-28, not in 7.0.7-0 and 7.0.3-4
Hello,
thanks you for your fast answer.
Magick identify:
ImageMagick-7.0.7-28>identify.exe test.tif
test.tif[1] TIFF 9340x4517 9340x4517+0+0 1-bit Bilevel Gray 695159B 0.000u 0:00.001
identify.exe: ASCII value for tag "Make" contains null byte in value; value incorrectly truncated during reading due to implementation limitations. `TIFFFetchNormalTag' @ warning/tiff.c/TIFFWarnings/999.
identify.exe: ASCII value for tag "Model" contains null byte in value; value incorrectly truncated during reading due to implementation limitations. `TIFFFetchNormalTag' @ warning/tiff.c/TIFFWarnings/999.
ImageMagick-7.0.7-0>identify.exe test.tif
test.tif[1] TIFF 9340x4517 9340x4517+0+0 1-bit Bilevel Gray 695159B 0.031u 0:00.034
identify.exe: ASCII value for tag "Make" contains null byte in value; value incorrectly truncated during reading due to implementation limitations. `TIFFFetchNormalTag' @ warning/tiff.c/TIFFWarnings/921.
identify.exe: ASCII value for tag "Model" contains null byte in value; value incorrectly truncated during reading due to implementation limitations. `TIFFFetchNormalTag' @ warning/tiff.c/TIFFWarnings/921.
With other programs there are no problems. I tested with Paint, ACDSEE and Gimp. Gimp reports a warning, too.
This are scaned pictures from a A0-Scanner from OCE.
If i open it in Gimp and save it new, it works.
thanks you for your fast answer.
Magick identify:
ImageMagick-7.0.7-28>identify.exe test.tif
test.tif[1] TIFF 9340x4517 9340x4517+0+0 1-bit Bilevel Gray 695159B 0.000u 0:00.001
identify.exe: ASCII value for tag "Make" contains null byte in value; value incorrectly truncated during reading due to implementation limitations. `TIFFFetchNormalTag' @ warning/tiff.c/TIFFWarnings/999.
identify.exe: ASCII value for tag "Model" contains null byte in value; value incorrectly truncated during reading due to implementation limitations. `TIFFFetchNormalTag' @ warning/tiff.c/TIFFWarnings/999.
ImageMagick-7.0.7-0>identify.exe test.tif
test.tif[1] TIFF 9340x4517 9340x4517+0+0 1-bit Bilevel Gray 695159B 0.031u 0:00.034
identify.exe: ASCII value for tag "Make" contains null byte in value; value incorrectly truncated during reading due to implementation limitations. `TIFFFetchNormalTag' @ warning/tiff.c/TIFFWarnings/921.
identify.exe: ASCII value for tag "Model" contains null byte in value; value incorrectly truncated during reading due to implementation limitations. `TIFFFetchNormalTag' @ warning/tiff.c/TIFFWarnings/921.
With other programs there are no problems. I tested with Paint, ACDSEE and Gimp. Gimp reports a warning, too.
This are scaned pictures from a A0-Scanner from OCE.
If i open it in Gimp and save it new, it works.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: convert Tif => PDF Error in 7.0.7-28, not in 7.0.7-0 and 7.0.3-4
Please post one of your TIFF files that fails to some free hosting service that will not change the format and put the URL here
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: convert Tif => PDF Error in 7.0.7-28, not in 7.0.7-0 and 7.0.3-4
Your TIFF file is improperly formatted. Imagemagick uses libtiff for reading tiff files. So either the file is bad or it is a limitation of libtiff
identify: ASCII value for tag "Make" contains null byte in value; value incorrectly truncated during reading due to implementation limitations. `TIFFFetchNormalTag' @ warning/tiff.c/TIFFWarnings/912.
identify: ASCII value for tag "Model" contains null byte in value; value incorrectly truncated during reading due to implementation limitations. `TIFFFetchNormalTag' @ warning/tiff.c/TIFFWarnings/912.
identify: improper image header `test.tif' @ error/tiff.c/ReadTIFFImage/1597.
Code: Select all
identify -verbose test.tif
identify: ASCII value for tag "Model" contains null byte in value; value incorrectly truncated during reading due to implementation limitations. `TIFFFetchNormalTag' @ warning/tiff.c/TIFFWarnings/912.
identify: improper image header `test.tif' @ error/tiff.c/ReadTIFFImage/1597.
Re: convert Tif => PDF Error in 7.0.7-28, not in 7.0.7-0 and 7.0.3-4
But it seems that the limitation is new.
The older versions 7.0.7-0 and 7.0.3-4 don't have this error with the same file.
The older versions 7.0.7-0 and 7.0.3-4 don't have this error with the same file.
-
- Posts: 4
- Joined: 2018-04-13T04:37:04-07:00
- Authentication code: 1152
Re: convert Tif => PDF Error in 7.0.7-28, not in 7.0.7-0 and 7.0.3-4
Hi there!
I have the same problem reading tiff files.
IM version 7.0.7-28 Q16 x86_64 2018-03-25 on Mac / High Sierra
identify -verbose returns :
identify: improper image header `000012331410.TIF' @ error/tiff.c/ReadTIFFImage/1733.
It seems you need to downgrade the libtiff to an older if you'r version is 4.0.9, to 4.0.8.
I can't find a documentation how to do that on a mac.
Can someone help me ?
I have the same problem reading tiff files.
IM version 7.0.7-28 Q16 x86_64 2018-03-25 on Mac / High Sierra
identify -verbose returns :
identify: improper image header `000012331410.TIF' @ error/tiff.c/ReadTIFFImage/1733.
It seems you need to downgrade the libtiff to an older if you'r version is 4.0.9, to 4.0.8.
I can't find a documentation how to do that on a mac.
Can someone help me ?
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: convert Tif => PDF Error in 7.0.7-28, not in 7.0.7-0 and 7.0.3-4
IM v7.0.7-28 with libtiff 4.0.9 on Windows 8.1 works fine for me.
Software sometimes tightens up on what errors it accepts, because these are sometimes identified as security vulnerabilities.
Software sometimes tightens up on what errors it accepts, because these are sometimes identified as security vulnerabilities.
snibgo's IM pages: im.snibgo.com
-
- Posts: 4
- Joined: 2018-04-13T04:37:04-07:00
- Authentication code: 1152
Re: convert Tif => PDF Error in 7.0.7-28, not in 7.0.7-0 and 7.0.3-4
There is a problem with some TIFF files, trows an error on reading the tiff files (see above).
For other TIFF files trows no errors, works perfect.
The older libtiff trows no errors.
For other TIFF files trows no errors, works perfect.
The older libtiff trows no errors.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: convert Tif => PDF Error in 7.0.7-28, not in 7.0.7-0 and 7.0.3-4
I think this issue is being worked on. See https://github.com/ImageMagick/ImageMag ... -381117850
-
- Posts: 4
- Joined: 2018-04-13T04:37:04-07:00
- Authentication code: 1152
Re: convert Tif => PDF Error in 7.0.7-28, not in 7.0.7-0 and 7.0.3-4
Hello,
thanks!
With the ImageMagick-7.0.7-29-beta20180415 my problem is solved, too.
thanks!
With the ImageMagick-7.0.7-29-beta20180415 my problem is solved, too.