Ugly Hedgehog - Photography Forum
Home Active Topics Newest Pictures Search Login Register
Main Photography Discussion
A Web Example
Page <prev 2 of 2
Apr 15, 2018 23:38:30   #
df61743 Loc: Corpus Christi, TX
 
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.

Reply
Apr 17, 2018 15:08:30   #
mrussell
 
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.

Reply
Apr 17, 2018 17:18:14   #
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.

Reply
 
 
Apr 17, 2018 17:39:32   #
mrussell
 
rehess wrote:
the 'width' and 'height' specified as part of the 'img' tag


Correct. The width and height now being CSS attributes (usually).

Reply
Page <prev 2 of 2
If you want to reply, then register here. Registration is free and your account is created instantly, so you can post right away.
Main Photography Discussion
UglyHedgehog.com - Forum
Copyright 2011-2024 Ugly Hedgehog, Inc.