Right now im building a photo hosting website. I tried to get the resolution of the images we upload. Im 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?
Question
Pubudu Kodikara
Right now im building a photo hosting website. I tried to get the resolution of the images we upload. Im 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?
Link to comment
Share on other sites
10 answers to this question
Recommended Posts