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
> 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.
>
2 matches
Mail list logo