Hi,
Get the Image dpi in PHP with out help of ImageMagic.
Regards, Nuwan
You can get the image dimensions in pixels with [man]getimagesize/man. I'm not sure what you mean by getting the DPI, as that is an attribute of a graphic output device (e.g.: monitor or printer), not an image file.
Would you care to perhaps use gd? I don't think it's possible to using just the GD library as PHP doesn't have a direct function to get the DPI value.
If you know the bit depth, you can do some calculations to find the dpi.
http://www.raydreams.com/docs/dpi.html