Hylafax Mailing List Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
tiff height/width swap?
(Please Cc: me in any replies; I'm not presently subscribed to the list.)
I'm running 4.0pl2 on a FreeBSD-2.2.6-STABLE box. At the moment, the fax
modem I'm using is a Cardinal 33.6 voice/fax/data modem, probably with a
56k flash upgrade (I forget - I have too many modems here).
> ldd `which hfaxd`
/usr/local/sbin/hfaxd:
-ltiff34.1 => /usr/local/lib/libtiff34.so.1.0 (0x20064000)
-ljpeg.7 => /usr/local/lib/libjpeg.so.7.0 (0x20091000)
-lz.2 => /usr/lib/libz.so.2.0 (0x200af000)
-ljpeg.9 => /usr/local/lib/libjpeg.so.9.0 (0x200bc000)
-lcrypt.2 => /usr/lib/libcrypt.so.2.0 (0x200d8000)
-lutil.2 => /usr/lib/libutil.so.2.2 (0x200db000)
-lm.2 => /usr/lib/libm.so.2.0 (0x200e2000)
-lc.3 => /usr/lib/libc.so.3.1 (0x200fd000)
>
Incoming faxes seem to have the height and width "swapped". At least, xv
tries to display faxes in landscape orientation instead of in portrait
orientation, and it's clear that these faxes were sent "normally".
Suggestions on what I can do to solve this problem (on my end) would be
most helpful. I'm hoping to find a solution that is transparent, as
opposed to having to incant:
xv -geometry 1070x1728 foo.tiff
every time I want to view a fax, or my other solution (convert to .ps and
then back to .tif).
Here's the results of tiffinfo on an "old" fax (HylaFAX 3.X):
# tiffinfo fax00000.tif
TIFF Directory at offset 0x52c8
Subfile Type: multi-page document (2 = 0x2)
Image Width: 1728 Image Length: 1066
Resolution: 204, 98 pixels/inch
Bits/Sample: 1
Compression Scheme: CCITT Group 3
Photometric Interpretation: min-is-white
FillOrder: lsb-to-msb
Date & Time: "1996:04:28 15:08:22"
Host Computer: "brown.pfcs.com"
Software: "HylaFAX (tm) Version 3.0pl1113"
Image Description: "813 545 2583"
Make: "ROCKWELL"
Model: "020-0480"
Orientation: row 0 top, col 0 lhs
Samples/Pixel: 1
Rows/Strip: (infinite)
Planar Configuration: single image plane
Group 3 Options: 2-d encoding (1 = 0x1)
Fax Data: clean (0 = 0x0)
TIFF Directory at offset 0x97aa
Subfile Type: multi-page document (2 = 0x2)
Image Width: 1728 Image Length: 1067
Resolution: 204, 98 pixels/inch
Bits/Sample: 1
Compression Scheme: CCITT Group 3
Photometric Interpretation: min-is-white
FillOrder: lsb-to-msb
Date & Time: "1996:04:28 15:08:44"
Host Computer: "brown.pfcs.com"
Software: "HylaFAX (tm) Version 3.0pl1113"
Image Description: "813 545 2583"
Make: "ROCKWELL"
Model: "020-0480"
Orientation: row 0 top, col 0 lhs
Samples/Pixel: 1
Rows/Strip: (infinite)
Planar Configuration: single image plane
Group 3 Options: 2-d encoding (1 = 0x1)
Fax Data: clean (0 = 0x0)
...
and here's the output from a recent fax:
# tiffinfo fax00031.tif
TIFF Directory at offset 0x331a
Subfile Type: multi-page document (2 = 0x2)
Image Width: 1728 Image Length: 1069
Resolution: 204, 98 pixels/inch
Bits/Sample: 1
Compression Scheme: CCITT Group 3
Photometric Interpretation: min-is-white
FillOrder: lsb-to-msb
Date & Time: "1998:07:16 13:58:50"
Host Computer: "brown.pfcs.com"
Software: "HylaFAX (tm) Version 4.0pl2"
Image Description: "5036600198"
Make: "ROCKWELL"
Model: "020-0480"
Orientation: row 0 top, col 0 lhs
Samples/Pixel: 1
Rows/Strip: 151
Planar Configuration: single image plane
Group 3 Options: 2-d encoding (1 = 0x1)
Fax Data: clean (0 = 0x0)
Fax Receive Parameters: 0000030a
Fax Receive Time: 35 secs
TIFF Directory at offset 0x8398
Subfile Type: multi-page document (2 = 0x2)
Image Width: 1728 Image Length: 1071
Resolution: 204, 98 pixels/inch
Bits/Sample: 1
Compression Scheme: CCITT Group 3
Photometric Interpretation: min-is-white
FillOrder: lsb-to-msb
Date & Time: "1998:07:16 13:59:08"
Host Computer: "brown.pfcs.com"
Software: "HylaFAX (tm) Version 4.0pl2"
Image Description: "5036600198"
Make: "ROCKWELL"
Model: "020-0480"
Orientation: row 0 top, col 0 lhs
Samples/Pixel: 1
Rows/Strip: 151
Planar Configuration: single image plane
Group 3 Options: 2-d encoding (1 = 0x1)
Fax Data: clean (0 = 0x0)
Fax Receive Parameters: 0000030a
Fax Receive Time: 20 secs
...