How to calculate the PPI from Resolution X and Y?

307 views Asked by At

Right now I'm building a photo hosting website.

I tried to get the resolution of the images we upload.

I'm familiar with the (PPI) resolution we use in Photoshop. When I tried to get the resolution of the image through RMagick, it gave me two values, Resolution X and Resolution Y. How can I calculate the exact resolution from the X and Y values?

0

There are 0 answers