I may not totally understand all the nuances, but since the paper size might be letter, legal, etc. the convert method "i think" is supposed to determine this automatically and not require any inspection of the image and require extra switches in order to properly convert the image. I am not sure tiff2pdf does all that, and was trying to find a simple way to accurately convert whatever got sent through.
The other method would be to use a python script that changes the tiff to a postscript file then from postscript to pdf. As a result of that conversion it does not have any problems it seems with the different sizes. I guess I could test against some different paper sizes and see if either method have pronounced problems with different sized pages. On Mon, Aug 22, 2011 at 8:18 AM, Gerald Drouillard <[email protected]> wrote: > On 8/22/2011 7:40 AM, Tony Graziano wrote: >> >> I suspect if we add ImageMagick to the required repo (roughly ~30MB of >> RPM's) we can take the temp file "tiff" and do a convert command; >> >> convert /temp/fax-message-tiff /temp/fax-message.pdf >> >> So my questions are: >> >> 1. Does anyone see an issue with adding ImageMagick to the requirement >> for sipxecs? > Not sure, but I think libtiff may be more efficient. I think it comes > in around 1MB. The command you are looking for is: > tiff2pdf -o /temp/fax-message.pdf /temp/fax-message-tiff > > -- > Regards > -------------------------------------- > Gerald Drouillard > Technology Architect > Drouillard& Associates, Inc. > http://www.Drouillard.biz > > _______________________________________________ > sipx-dev mailing list > [email protected] > List Archive: http://list.sipfoundry.org/archive/sipx-dev/ > -- ====================== Tony Graziano, Manager Telephone: 434.984.8430 sip: [email protected] Fax: 434.465.6833 Email: [email protected] LAN/Telephony/Security and Control Systems Helpdesk: Telephone: 434.984.8426 sip: [email protected] Helpdesk Contract Customers: http://support.myitdepartment.net Blog: http://blog.myitdepartment.net Linked-In Profile: http://www.linkedin.com/pub/tony-graziano/14/4a6/7a4 Ask about our Internet faxservices! _______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev/
