ImageMagick: Tiff to PDF from PHP

Posted by Sheldon on Stack Overflow See other posts from Stack Overflow or by Sheldon
Published on 2010-01-15T20:19:15Z Indexed on 2010/05/17 0:40 UTC
Read the original article Hit count: 315

Filed under:
|
|
|

How can I convert 2 tiff images to PDF, I already knows how to get the image out of the DB, and I print it using echo and setting up the MIME type.

But, right know I need to use a duplex printer option, so I need a way to generate a PDF from inside my PHP page, that PDF must containt both TIFF images (one per page) How can I do that? What do I need for php to work with that library.

Thank you very much.

EDIT:

Is a self hosted app, I own the server (actually I'm using WAMP 2).

I extract the images from the MySQL DB (stored using LONGBLOBS).

© Stack Overflow or respective owner

Related posts about imagemagick

Related posts about php