Re: IMG tag doesn't seem to support relative HEI & WID values as standard

David Marsh (drmarsh@bigfoot.com)
09 Sep 97 20:44:17 +0000


Date: 09 Sep 97 20:44:17 +0000
From: David Marsh <drmarsh@bigfoot.com>
To: www-html@w3.org
In-Reply-To: <3.0.3.32.19970904161358.00a2d2f0@mailroom.itc.kodak.com>
Message-ID: <2077.7191T1244T896@bigfoot.com>
Subject: Re: IMG tag doesn't seem to support relative HEI & WID values   as   standard

On 04-Sep-97 20:13:58, mdw@itc.kodak.com (Mark D. Wood) said:
[Source: email, Subject was: Re: IMG tag doesn't seem to support relative HEI & WID values   as   standard]


>MSIE & Netscape both *do* support %units on IMG HEI & WID tags and have for
>some time.   The percentages are of the window height and width. As an
>aside, MS & Netscape don't handle the percentages in completely identical
>manners---they do different things if both are specified, which is another
>argument for a standard here.

I'm not sure why you would want to specify image sizes in percentage terms?

Either you'd have to download an enormously large high resolution bitmap and
have the browser scale it down appropriately, which would simply be
infeasible for modem download, would increase the processing load on the 
browser and would imply that browser rescaling routines would need to be of
reasonable quality (and that all browsers perform such a function).

The flipside would be for the image to be sent as now, at whatever size it
was created at, and then scaled up, which invariably looks terrible, of
course.


If there is a genuine need for images to be scaled to match the text and
window size, then it would seem to me that the only solution would be for
authors to use vector graphics (which essentially implies PostScript?),
which would tend to limit the type of images which could be used, and would
greatly increase the load on the browser were it to have to incorporate a
PostScript engine.


--
David Marsh,    drmarsh@bigfoot.com  |   http://squelch.home.ml.org/  |   //
Glasgow/Glaschu, Scotland.     *If urgent, phone: +44  141 636-6084.* | \X/
>> CYCLEWAY: cycle activism UK/IE: http://squelch.home.ml.org/cycleway/   <<
>> includes bikes on public transport, and cycle organisation directories <<
   [Actively seeking work: see  http://squelch.home.ml.org/tgfx/cv.html]