Hylafax Mailing List Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
Re: [hylafax-users] tiff2ps (Resolved) (was Concatenatin
Hi,
Just thought I'd share my findings.
I've eventually worked out, that the scaling problem was due to
ImageMagick. The original images that I'd got were 200dpi.
The montage command I was using from ImageMagick, didn't
copy over all of the tiff tags to the output image, and crucially
was losing the xresolution and yresolution tags. Consequently
when tiffcheck and tiff2ps etc. processed the image they
assumed it was 72dpi and messed up the scaling.
I fixed it by making a crude fix to tiffcp to always set the
image resolution to 200dpi... Messy but it works.
Regards,
Rob
-----Original Message-----
From: rob.leadbeater@lynx.co.uk [SMTP:MIME :rob.leadbeater@lynx.co.uk]
Sent: Wednesday, February 28, 2001 11:09 AM
To: hylafax-users@hylafax.org
Subject: [hylafax-users] tiff2ps (was Concatenating tiffs...)
Looking through the various stages of tiff conversion I think I'm right in
saying that the following happens.
tiffcheck is called on tiffs to be faxed, and reports whether they need
to be converted.
The script tiff2fax is then called which converts the images.
If the images are G4 format (as mine are), they are converted to G3
using tiffcp (part of libtiff).
If the images are an incorrect size, they are passed to tiff2ps, to
convert to postscript, and then back to tiff using ps2fax. (ghostscript)
From what I can work out tiff2ps is screwing up the aspect ratio of
my images. I've tried playing about with the patched version of tiff2ps
by John Williams, but I'm still having problems.
Could anyone give me any pointers ?
Regards,
Rob
-----Original Message-----
From: faxguy@deanox.com [SMTP:MIME :faxguy@deanox.com]
Sent: Tuesday, February 27, 2001 5:25 PM
To: Rob Leadbeater
Cc: hylafax-users@hylafax.org
Subject: RE: [hylafax-users] Concatenating tiffs
At 04:28 PM 2/27/01 +0000, rob.leadbeater@lynx.co.uk wrote:
>Thanks Lee.
>
>However I'm now a little confused about how Hylafax handles the scaling
of
the images.
>
>If I use sendfax to fax one of the original images, then Hylafax scales
it
down nicely. The resulting fax has the image at the bottom of the page,
leaving the (A4) page 80% blank.
>
>Using the montage command from the ImageMagick toolkit, I've managed to
create a tiff image which is 1648x1206 pixels in size.
>
> montage -geometry 1648x400 -tile 1x5 tif1 tif2 tif3 output
>
>If I try and fax this tiff Hylafax does not scale it down as it did with
the original, and consequently the received fax is 'blown up' and misses
the right hand side of the image.
>
>Is there a maximum image size or something which I'm breaking ??
I don't know what's happening. But I do know that HylaFAX converts all
outbound faxes into TIFF G3 format, I belive (could be wrong), for faxing.
So simply having two TIFFs does not mean that they are of the same format.
You may want to look into that.
Lee.
____________________ HylaFAX(tm) Users Mailing List
_______________________
To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org <
/dev/null
____________________ HylaFAX(tm) Users Mailing List _______________________
To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null