W3C home > Mailing lists > Public > www-html@w3.org > October 2008


From: Joćo Miguel Lopes Moreira <multi.jmlm_1970@hotmail.com>
Date: Fri, 10 Oct 2008 15:37:48 +0000
Message-ID: <BAY121-W16DF261B67E2B6C4666FE4DE350@phx.gbl>
To: <www-html@w3c.org>

Lisbon, 10 of October of 2008.

There is a way to include in the HTML ASCII file, the binary source of an image file, like a .gif file?

Solution: http://lists.w3.org/Archives/Public/www-html/2008May/0028.html

Another problem is that, the implemented solution, uses MIME to set data content type.

But when HTML have:
IMG SRC="file:\\image_file.gif"

I think it uses .gif to set data content type, and not a preset MIME, if MIME is used, is used by the browser, that query the O. S., or other, about the MIME for the .gif extension.

So, I think it would be great to have the image binary data, without reference to MIME, but, also, with reference to file extension, and let browser decide which content is there, as if a file name was supplied.

Instead of having only HTML:
IMG SRC="data:image/gif;base64,ZXYetc..."

Having also HTML:
IMG SRC="data:.gif;base64,ZXYetc..."

Obtenha 30 Emoticons grįtis para o seu Windows Live Messenger
Received on Friday, 10 October 2008 15:38:35 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:21 UTC