- From: David Norris <kg9ae@geocities.com>
- Date: Fri, 22 Oct 1999 08:32:39 -0500
- To: "william drury" <bild@xao.com>
- Cc: <www-html@w3.org>
> actually seen much traffic, so I hope that this is the proper forum in Seems mostly on topic, although this response isn't quite. Much closer than many posts to this list! > So if RESIZE=yes, the browser would have the option of attempting to > display the image at a proportionally larger size when someone resized > their browser window to be larger (of course, JavaScript or something Seems like you are trying to implement something which already exists. The current HTML specs define the width and height of an image in pixels and percentages, although I've never understood the reasoning behind percentage. Pixels are not an absolute measurement, as you have pointed out. Pixels are physical dots which comprise the image. The higher the resolution, the more dots you might have in a given area of the display. That is almost a random number between different display types. And, it is a mostly useless way to measure something for humans. My PC's screen is ~300 pixels/inch, Macintosh screen's are often 72 pixels/inch, many jet printers are 300 or 600 pixels/inch. This definitely presents a problem. > this would require some more sophisticated image scaling Yes, I believe that it did. What you are proposing can easily be done with style sheets right now on current graphical browsers. You can use a width and height given in an absolute measurement, centimeters for example, to make the image show an absolute size on all displays. Any decent image editor will be able to tell you the size in centimeters or inches given the knowledge of your display's screen resolution, pixels/centimeter for example. I use Paint Shop Professional 5.0, which is very similar to Adobe Photoshop 5 to cite a cross-platform editor. It allows me to display rulers around the image which measure in pixels, centimeters, or inches. It adjusts the rendering of the image to compensate for the difference in image resolution versus screen resolution. At that point, if it is 6 centimeters on my screen then it is 6 centimeters everywhere assuming the other system renders it properly. I won't say that it is perfectly accurate all of the time. However, it is very close. Here is an example: <img width="100" height="200" style="width: 4cm; height: 8cm;" alt="" src="image"> -- ,David Norris World Wide Web - http://www.webaugur.com/dave Page via mail - 412039@pager.mirabilis.com ICQ Universal Internet Number - 412039 E-Mail - dave@webaugur.com
Received on Friday, 22 October 1999 09:38:29 UTC