How can I build an online tool that checks the size of an image?
July 21, 2009 1:11 PM Subscribe
How can I make an online tool to show someone whether an image they've uploaded is high enough resolution for print?
posted by ocherdraco to computers & internet (16 answers total) 4 users marked this as a favorite
I work in book publishing. One of the things I do is to help my authors organize the images they've gathered to include in the book. The complicating factor is often that authors (who are often not the savviest computer users) just go on Google to find images, and often end up with images that are much too small to print, because they are displayed at 72dpi on screen, and the author doesn't understand that the size an image is on a screen is not necessarily the same as in print.*
It would be incredibly useful if I could have an online tool to point them to that would be able to tell them "The image you have uploaded [or "the image at that url"] will print at 2.5" x 3.5", which is approximately 1/4 page" or something like that.
It would need to be able to:
- detect the dimensions of the image in pixels
- display the dimensions, in inches, that the image will be when displayed at 300dpi
- be able to tell the author a general size for that image (too small to print, 1/4 page, 1/2 page, full page, etc.) based on parameters I would include
How can I build this?
*I have actually had an author hold up a ruler to a computer monitor to say, "See, it's big enough!"