[Freeswitch-users] fax and jpg to tiff

Helmut Kuper helmut.kuper at ewetel.de
Thu Apr 14 20:39:33 MSD 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Madovsky,

I guess u u r using imagemagick's convert. So give this a try:

convert -page Letter -density 204x196 -resize 1728!x1184 -units
pixelsperinch -monochrome -compress Fax <pathToFile> <pathToNewFile>

The "!" after 1728 forces the width to exactly 1728 pixels.


Am 14.04.2011 18:08, schrieb Madovsky:
> Ok Steve,
>  
> strange since I use exactly
>  
> sudo /usr/bin/convert -page Letter -density 204x196 -resize 1728x1184
> -units pixelsperinch -monochrome -compress Fax <pathToFile> <pathToNewFile>
>  
> but the spandsp log shows 881px as width :(
>  
> thanks 

regards
helmut
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2nI0UACgkQ4tZeNddg3dws5gCfRdYEVhf/iKMDH7Mq8ASwtELb
9VwAnidyc42JJbnp52BxaXj3AyGR1OlN
=jM8D
-----END PGP SIGNATURE-----



More information about the FreeSWITCH-users mailing list