[webkit-dev] adding DPI to MIME type

Nicholas Shanks contact at nickshanks.com
Thu Jun 1 07:48:25 PDT 2006

> <object type=”image/svg+xml” data=”example.svg”>
> <object type=”image/png+300dpi” data=”example-hi.png>
> <img src=”example-low.png” />
> </object>
> </object>

It would make more sense to use something akin to the existing  
encoding definition:

Content-Type: text/plain
Content-Type: text/html; charset=utf-8

Applied to images:

Content-Type: image/png; dpi=72
Content-Type: image/png; dpi=96
Content-Type: image/png; dpi=300
Content-Type: image/tiff; dpi=72,96,300

(noting that TIFF files can contain multiple resolutions)
Browsers could then send:

Accept: image/png; dpi=120

and the webserver would return the image with the same or next higher  
DPI (the 300 in this case).

I thought inches had been replaced by centimetres anyway?

- Nicholas.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2373 bytes
Desc: not available
Url : http://lists.macosforge.org/pipermail/webkit-dev/attachments/20060601/de686a63/smime.bin

More information about the webkit-dev mailing list