[FAX] Try to convert PDF to compatible TIFF
Posted: 2007-02-20T05:22:47-07:00
Hello,
I try to convert a PDF to a TIFF file for my fax gateaway.
Here are the informations of a TIFF correctly generated by I program :
And here are the informations from my bad tiff file :
I use the following command :
I don't know why the first TIFF works with my gateaway and not the second that I've generated.
Any help would be extremely appreciated
I try to convert a PDF to a TIFF file for my fax gateaway.
Here are the informations of a TIFF correctly generated by I program :
Code: Select all
# tiffinfo t378637.tif
TIFF Directory at offset 0x8 (8)
Subfile Type: multi-page document (2 = 0x2)
Image Width: 1728 Image Length: 2255
Resolution: 204, 196 pixels/inch
Bits/Sample: 1
Compression Scheme: CCITT Group 4
Photometric Interpretation: min-is-white
FillOrder: lsb-to-msb
Orientation: row 0 top, col 0 lhs
Samples/Pixel: 1
Rows/Strip: (infinite)
Planar Configuration: single image plane
Page Number: 0-0
Software: Windows NT Fax Server
Group 4 Options: (0 = 0x0)
Code: Select all
# tiffinfo Test-Fax3.tif
TIFF Directory at offset 0x5c2 (1474)
Image Width: 1728 Image Length: 2236
Resolution: 204, 196 pixels/inch
Bits/Sample: 1
Compression Scheme: CCITT Group 4
Photometric Interpretation: min-is-white
FillOrder: lsb-to-msb
Orientation: row 0 top, col 0 lhs
Samples/Pixel: 1
Rows/Strip: 2236
Planar Configuration: single image plane
DocumentName: testfax.tif
ImageDescription: Image generated by ESP Ghostscript (device=pnmraw)
Software: ImageMagick 6.3.0 11/27/06 Q16 http://www.imagemagick.org
Code: Select all
convert FileIN -resize 1728x2255 -monochrome -units PixelsPerInch -density 204x196 -compress group4 -endian lsb FileOut
Any help would be extremely appreciated