2012.08.27 15:44 "[Tiff] Unitless TIFF file results in page size in points instead of inches", by Aaron Trewern

2012.08.27 15:51 "Re: [Tiff] Unitless TIFF file results in page size in points instead of inches", by Lee Howard

On 08/27/2012 08:44 AM, Aaron Trewern wrote:

I have a TIFF file with the details below. I expected tiff2pdf to convert this to a letter size (8.5x11") page instead the result a PDF file with a page size 8.5x11 points ~ 0.12x0.15 inches.

The man page implied that the default unit was inches but it looks the source simply divides the image width by the resolution to get the PDF page width in points.

Is this the expected behaviour?

TIFF Directory at offset 0x8 (8)
    Image Width: 2560 Image Length: 3300
    Resolution: 300, 300 (unitless)
    Compression Scheme: CCITT Group 4
    Photometric Interpretation: min-is-black
    Samples/Pixel: 1
    Rows/Strip: 1
    Planar Configuration: single image plane

I can't speak to the documentation concerns, but when a TIFF image is unitless the assumption, then, is that those are Postscript units... at least by PDF and Postscript images.

If that image is 300x300 dpi then you need to put a units in there of inches.

Thanks,

Lee.