How are images scaled for high-resolution devices.
June 12, 2012 12:04 AM Subscribe
How do images with fixed pixel sizes, say on a web page, scale on a high-resolution (ie. "retina") display?
posted by Jimbob to Computers & Internet (4 answers total) 9 users marked this as a favorite
Say I have an image, on a page in a browser, that's 200px x 200px. Is this image displayed at that pixel size (ie. very, very small) on one of the new high-DPI displays that are coming out at the moment? Or is it scaled (ie. each pixel is actually a square of 2x2 or 3x3 pixels)? In the later case, is there a way to tag an image as being of high resolution, or provide an alternative high-resolution image for these kinds of displays? Is metadata within the image, identifying it as a 300dpi image for example, actually used? Or am I over-thinking this problem?
It seems that when viewing a site like Flickr, it might be smarter to serve "retina" displays high-resolution versions of the photos, rather than the 640px wide images you get in the default view.