Re: [PHP] Image Resolution

2005-01-26 Thread Richard Lynch
Martin Magnusson wrote: > Hi, > > I have written a script that takes an uploaded jpeg-image and places it in > a > PDF-file with the PDFLib functions in php. The original image file is > 560x420, 72 dpi. Later on the PDF-file will be printed, and our printshop > requires at least 200 dpi. The forma

Re: [PHP] Image resolution and php

2002-09-18 Thread pan
> I need to get resolution information (dpi) from any > image of jpg, gif or png formats. > > It would be sufficient to obtain pixel and inches > dimension of such images and calculate resolution by > simply dividing but I haven't found any function that > gets effective dimensions in inches. >