Page 1 of 1

PDF Creation / Image Resolution

Posted: Wed Apr 09, 2003 8:36 am
by GodOfHonk
Hi,

This may teeter on the on-topic/off-topic line, but here goes....

I have a PHP driven newsletter component on a website and I now need to produce a PDF version of each newsletter edition. I have looked at using PDFLib and some pure PHP libraries as well as converting HTML output to PDF using HTMLDoc.

My question is about image resolution. Say a user uploads an image for the newsletter. I would like to ask to user to upload only one photo and generate an image for the web version (72dpi) and one for the print/PDF version (300dpi).

Has anybody encountered this and found a straight answer about how image resolution works in PDFs?? Also, does anybody know of a good tool to convert image resolution (from 300 to 72)? ImageMagick's -density option doesn't seem to cut it.

The site will be running PHP 4.3x on Mac OS X 10.2 Server.

Thanks!

GodOfHonk