TheDman wrote:
No! False. They will be the same file size as well, assuming they were saved at the same jpg compression. Repeat after me: DPI is meaningless. Meaningless. Meaningless.
Right Dman. DPI is simply a metadata tag that tells software how to convert pixel dimensions to inches in preparation for printing. It has NOTHING to do with filesize or download time.
The size an online image appears depends, at least in part, on the CSS of the image tag. The image can be styled to display at a different size than the image itself.
rehess
Loc: South Bend, Indiana, USA
mrussell wrote:
The size an online image appears depends, at least in part, on the CSS of the image tag. The image can be styled to display at a different size than the image itself.
Yes, and the number of pixels allocated by the browser can also be controlled via the 'width' and 'height' specified as part of the 'img' tag; in fact, the text I used when I taught computer literacy recommended using one of those methods as being more efficient than having the browser figure it out from the image.
However, the point of this demo is showing that the browser does
not use dpi when it has to figure out the size on its own.
rehess wrote:
the 'width' and 'height' specified as part of the 'img' tag
Correct. The width and height now being CSS attributes (usually).
If you want to reply, then
register here. Registration is free and your account is created instantly, so you can post right away.