Tiff To PDF blank page

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
adzaip
Posts: 1
Joined: 2013-07-17T16:11:40-07:00
Authentication code: 6789

Tiff To PDF blank page

Post by adzaip »

Hi,
I'm trying to convert TIF image (image location: http://www.filedropper.com/1_50) to PDF page by using

im 1.tif -density 72 1.pdf

output pdf file contains empty white page.

Any idea what can cause this issue?

this is output of identify

Code: Select all

Image: 1.tif
  Format: TIFF (Tagged Image File Format)
  Class: DirectClass
  Geometry: 2336x50697+0+0
  Resolution: 200x200
  Print size: 11.68x253.485
  Units: PixelsPerInch
  Type: Bilevel
  Base type: Bilevel
  Endianess: LSB
  Colorspace: Gray
  Depth: 1-bit
  Channel depth:
    gray: 1-bit
  Channel statistics:
    Gray:
      min: 0 (0)
      max: 1 (1)
      mean: 0.913909 (0.913909)
      standard deviation: 0.280498 (0.280498)
      kurtosis: 6.70983
      skewness: -2.95124
  Colors: 2
  Histogram:
  10195591: (  0,  0,  0) #000000 gray(0)
 108232601: (255,255,255) #FFFFFF gray(255)
  Rendering intent: Perceptual
  Gamma: 0.454545
  Chromaticity:
    red primary: (0.64,0.33)
    green primary: (0.3,0.6)
    blue primary: (0.15,0.06)
    white point: (0.3127,0.329)
  Background color: gray(255)
  Border color: gray(223)
  Matte color: gray(189)
  Transparent color: gray(0)
  Interlace: None
  Intensity: Undefined
  Compose: Over
  Page geometry: 2336x50697+0+0
  Dispose: Undefined
  Iterations: 0
  Compression: Group4
  Orientation: TopLeft
  Properties:
    date:create: 2013-06-29T09:39:34+09:00
    date:modify: 2008-08-20T15:51:58+09:00
    signature: b44a323edffe599418e2416db623224e03f9b5aa08ec2a62560fbeb1e626ebe8
    tiff:endian: msb
    tiff:photometric: min-is-white
    tiff:rows-per-strip: 50698
  Artifacts:
    filename: 1.tif
    verbose: true
  Tainted: False
  Filesize: 861KB
  Number pixels: 118.4M
  Pixels per second: 450.3MB
  User time: 0.265u
  Elapsed time: 0:01.263
  Version: ImageMagick 6.8.6-3 2013-06-25 Q8 http://www.imagemagick.org
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Tiff To PDF blank page

Post by fmw42 »

your command works fine for me with IM 6.8.6.5 Q16 Mac OSX using your image
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Tiff To PDF blank page

Post by snibgo »

It works for me (v6.8.6-0 on Windows 7) in the sense that I can convert it PDF then from the PDF to PNG and it looks the same (in Microsoft Photo Viewer).

However, Adode Reader X (v10.1.7) shows a blank white page, 32 inches wide by 200 inches high. I suspect this software can't cope with such a large image.
snibgo's IM pages: im.snibgo.com
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Tiff To PDF blank page

Post by fmw42 »

Actually the PDF file I created above opened fine in Mac Preview. But when I tried to open it in Adobe Reader, like user snibgo, all I got was a white page also.

It is very odd. When I open Adobe Reader and went to the Preferences and set the Reading Preferences for Page vs Document to Read the Entire Document (rather than visible pages), it displayed fine. But I cannot repeat that.
Post Reply