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

 
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to