[magick-users] Problem rotating TIFF G3

Andreas Oster aoster at novanetwork.de
Fri Nov 19 03:53:42 PST 2004


Dear list members,

I  have only little experience with ImageMagick and have run into a 
little problem
with a mail to FAX solution I am trying to implement. I try to send 
OpenOffice.org
documents to the server where they are converted to PDF and afterwards 
to tiffG3
with ghostscript. Everything works perfectly if the original document is 
in portrait
format. If the document is landscape I always get a blank page on the 
resceiving
FAX. So I tried to rotate the TIFF with :

mogrify -rotate 90 -compress FAX fax.tiff

The resulting TIFF also produces a blank Page on the resceiving FAX, but 
if I
view the image with an image-viewer everything seems to be ok.
What do I do wrong ? Any clues ?


Rotated image:

identify -verbose fax.tiff

TIFF Directory at offset 0x5a30
  Image Width: 1620 Image Length: 2386
  Resolution: 204, 196 pixels/inch
  Bits/Sample: 1
  Compression Scheme: CCITT Group 3
  Photometric Interpretation: min-is-white
  FillOrder: msb-to-lsb
  Date & Time: "2004:11:19 12:46:35"
  Software: "ImageMagick 5.5.7 09/20/04 Q16 http://www.imagemagick.org"
  Document Name: "fax.tiff"
  Orientation: row 0 top, col 0 lhs
  Samples/Pixel: 1
  Rows/Strip: 40
  Planar Configuration: single image plane
Image: fax.tiff
  Format: TIFF (Tagged Image File Format)
  Geometry: 1620x2386
  Class: PseudoClass
  Type: bilevel
  Depth: 8 bits-per-pixel component
  Colors: 2
    0: (255,255,255)      grey100
    1: (  0,  0,  0)      black
  Resolution: 204x196 pixels/inch
  Filesize: 23.3kb
  Interlace: None
  Background Color: grey100
  Border Color: #DFDFDF
  Matte Color: grey74
  Dispose: Undefined
  Iterations: 0
  Compression: Fax
  timestamp: 2004:11:19 12:46:35
  software: ImageMagick 5.5.7 09/20/04 Q16 http://www.imagemagick.org
  document: fax.tiff
  signature: 
ca567a0ce3bbc99c52ab4ed53d77c24bdd1ad1dd20ed314dfb230759ff6c1529
  Tainted: False
  User Time: 0.810u
  Elapsed Time: 0:01



Working  example portrait:

identify -verbose fax.tiff

TIFF Directory at offset 0x8
  Subfile Type: multi-page document (2 = 0x2)
  Image Width: 1728 Image Length: 2292
  Resolution: 204, 196 pixels/inch
  Bits/Sample: 1
  Compression Scheme: CCITT Group 3
  Photometric Interpretation: min-is-white
  FillOrder: lsb-to-msb
  Date & Time: "2004:11:19 12:47:27"
  Software: "ESP Ghostscript 7.05"
  Orientation: row 0 top, col 0 lhs
  Samples/Pixel: 1
  Rows/Strip: 2292
  Planar Configuration: single image plane
  Page Number: 0-0
  Group 3 Options: EOL padding (4 = 0x4)
Image: fax.tiff
  Format: TIFF (Tagged Image File Format)
  Geometry: 1728x2292
  Class: PseudoClass
  Type: bilevel
  Depth: 8 bits-per-pixel component
  Colors: 2
    0: (255,255,255)      grey100
    1: (  0,  0,  0)      black
  Resolution: 204x196 pixels/inch
  Filesize: 19.8kb
  Interlace: None
  Background Color: grey100
  Border Color: #DFDFDF
  Matte Color: grey74
  Dispose: Undefined
  Iterations: 0
  Compression: Fax
  timestamp: 2004:11:19 12:47:27
  software: ESP Ghostscript 7.05
  signature: 
ca6ecde256b857c9e6d8efdb85df8a4294dcaf3f0365026fd7bb0ab86462c9d7
  Tainted: False
  User Time: 0.820u
  Elapsed Time: 0:01


thank you for your kind helb

best regards

Andreas


More information about the Magick-users mailing list