a) I have used an online service where you can upload an image.
b) Afterwards, you can select a print size and it gives you information on what is actual DPI based on that print size.
c) When it gives you information if that particular DPI (dots per inch) for that print size is enough quality to print, so basically it outputs "bad", "average" or "good".
I want to built this functionality on my own site, but I lack logic's behind how they count DPI.
This is my two tests where I upload slightly different photos. As site outputs DPI it is easy to try to get how it counts it, but as for different photos it does differently. I just can not grasp the pattern on why it does so.
Here is my two different photos uploaded:
Product: Poster Size: 1000x1200
I will just explain the first value - 8x10 -> 1200 / 10 - you get DPI by subtracting photo height with print size height.
8x10 -> 1200 / 10 ->>> why this DPI is counted differently from other image?
10x10 -> 1000 / 10
12x12 -> 1000 / 12
12x16 -> 1200 / 16 ->>> why this DPI is counted differently from other image?
14x14 -> 1000 / 14
16x16 -> 1000 / 16
12x18 -> 1200 / 18
18x18 -> 1000 / 18
16x20 -> 1200 / 20 ->>> why this DPI is counted differently from other image?
18x24 -> 1200 / 24 ->>> why this DPI is counted differently from other image?
24x36 -> 1200 / 36
Product: Poster Size: 1000x1333
8x10 -> 1000 / 8 ->>> comparing to this value
10x10 -> 1000 / 10
12x12 -> 1000 / 12
12x16 -> 1000 / 12 ->>> comparing to this value
14x14 -> 1000 / 14
16x16 -> 1000 / 16
12x18 -> 1333 / 18
18x18 -> 1000 / 18
16x20 -> 1000 / 20 ->>> comparing to this value
18x24 -> 1000 / 18 ->>> comparing to this value
24x36 -> 1333 / 36
Just do not get it why for a very similar image, counting of the same print sizes are different for particular values?
Any ideas?