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?