HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

[hylafax-users] Images Resizing



Hi,

I have one email 2 fax gateway working perfectly, for multiple kind of
files.
It works for some different kind of Images type, JPG, GIF, PNG, and so on.

My problem it's, the resizing of that images, I don't know the fax
protocol, and I don't know, how I should resize the images, so they will
fit correctly in the other side.

I'm using one Perl script, that uses the module 'Image::Magick' to
convert the images to postscript, so they can be injected in Hylafax.

I have tried to use the function:

$image->Set(page => 'A4')

This is supposed to fit the image, in one A4 page correctly, and it
does, but most of the times, if the image it's too big, like from one
scanner or something, with high DPI, the image it's cut, and not
correctly scaled.

Anyone have one working script like this one? Or can even get me one
idea how should I do to resize the images correctly?


Thanks very much,
Igor Neves


____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions