[asterisk-users] SendFAX - multi-page TIFF

Mikhail Lischuk mlischuk at itx.com.ua
Sun Oct 7 03:56:12 CDT 2012


 

Gabriel Ortiz Lour писал 06.10.2012 17:07: 

> I am using this
command to generate the TIFF from a PDF:
> 
> /usr/bin/gs -q
-sDEVICE=tiffg3 -sPAPERSIZE=a4 -r204x196 -dNOPAUSE
-sOutputFile=$tiffFile -- $pdfFile

I use imagemagic's convert instead
of gs, for gs gave me lots of problems I had no time to debug:


/usr/local/bin/convert -density 204x98 -resize 1728x1346 -units
pixelsperinch -monochrome -compress Fax $timestamp.pdf $timestamp.tif


And it works perfectly with multipage PDFs 

-- 
With Best
Regards
Mikhail Lischuk

+380681244933

+380504182274

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20121007/f48a5701/attachment.htm>


More information about the asterisk-users mailing list