Hi,
I am a new user of ImageMagick, and I only use very basic commands (shown below) to covert tiff images to PDFs. The input files are some survey images. However, I find a small number of the output files are blank while the majority are fine. There is no error message returned in the log, only warnings as shown below. Any idea why it doesn't work? Thanks in advance for your help!
Command:
convert "AA.tif" "BB.pdf" 2>> "C:\Error_ImageMagick.log"
Log:
convert.exe: ASCII value for tag "Software" does not end in null byte. `TIFFFetchNormalTag' @ warning/tiff.c/TIFFWarnings/824.
convert.exe: ASCII value for tag "DateTime" contains null byte in value; value incorrectly truncated during reading due to implementation limitations. `TIFFFetchNormalTag' @ warning/tiff.c/TIFFWarnings/824.
convert.exe: ASCII value for tag "Artist" does not end in null byte. `TIFFFetchNormalTag' @ warning/tiff.c/TIFFWarnings/824.
Blank output for Tiff to PDF convertion
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Blank output for Tiff to PDF convertion
Difficult to guess. Put one of the failing images somewhere on the web, and put the URL here.
If you can't do that, then "identify AA.tif >AA.txt" and paste AA.txt here, between [ code ] and [ /code ] to preserve the formatting.
If you can't do that, then "identify AA.tif >AA.txt" and paste AA.txt here, between [ code ] and [ /code ] to preserve the formatting.
snibgo's IM pages: im.snibgo.com
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Blank output for Tiff to PDF convertion
You might also identify your version of IM and platform.
Re: Blank output for Tiff to PDF convertion
This is the link for the input image, open you can open it:
https://docs.google.com/file/d/0B3auNAU ... sp=sharing
Many many thanks for checking it out~
https://docs.google.com/file/d/0B3auNAU ... sp=sharing
Many many thanks for checking it out~
Re: Blank output for Tiff to PDF convertion
I am using ImageMagick-6.8.3-Q1 on Windows 7. Is there any conflict?
Re: Blank output for Tiff to PDF convertion
I tried to identify the image, and here is the ouput:snibgo wrote:Difficult to guess. Put one of the failing images somewhere on the web, and put the URL here.
If you can't do that, then "identify AA.tif >AA.txt" and paste AA.txt here, between [ code ] and [ /code ] to preserve the formatting.
Code: Select all
\\vrpsisdata01\k_drive\DLI_Directory\GASI_GDID\Images\\Splans\5001-6000\\09JUN0005001SP####SSSSS1FFFFFF0.tif TIFF 6176x4576 6176x4576+0+0 1-bit Bilevel Gray 121KB 0.016u 0:00.013
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Blank output for Tiff to PDF convertion
The problem seems to be the resolution, which is set to 6.69 pixels per centimetre. If we reset this to a more sensible 72 dpi, it works. (On Windows 7, IM v6.8.6-0.)
(I should have said "identify -verbose AA.tif >AA.txt". Sorry.)
Code: Select all
convert 09JUN0005001SP####SSSSS1FFFFFF0.tif -density 72 x.pdf
snibgo's IM pages: im.snibgo.com
Re: Blank output for Tiff to PDF convertion
snibgo wrote:The problem seems to be the resolution, which is set to 6.69 pixels per centimetre. If we reset this to a more sensible 72 dpi, it works. (On Windows 7, IM v6.8.6-0.)
(I should have said "identify -verbose AA.tif >AA.txt". Sorry.)Code: Select all
convert 09JUN0005001SP####SSSSS1FFFFFF0.tif -density 72 x.pdf
Thank you so much, snibgo!!! It does resolve the problem~~
I need to tell my boss about the 6.69 pxiels per cm resolution