<?xml version="1.0" encoding="utf-8"?><!-- generator="wordpress/2.2.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Base64 Encoded Images Embedded in HTML</title>
	<link>http://www.sweeting.org/mark/blog/2005/07/12/base64-encoded-images-embedded-in-html</link>
	<description>The world according to marky moo</description>
	<pubDate>Fri, 10 Feb 2012 08:27:13 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.1</generator>

	<item>
		<title>By: John</title>
		<link>http://www.sweeting.org/mark/blog/2005/07/12/base64-encoded-images-embedded-in-html#comment-146617</link>
		<author>John</author>
		<pubDate>Sun, 05 Jun 2011 16:48:28 +0000</pubDate>
		<guid>http://www.sweeting.org/mark/blog/2005/07/12/base64-encoded-images-embedded-in-html#comment-146617</guid>
		<description>can't you use mhtml? that would overcome most problems with size, but which browsers support it? i know IE6+ does</description>
		<content:encoded><![CDATA[<p>can&#8217;t you use mhtml? that would overcome most problems with size, but which browsers support it? i know IE6+ does</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 3ed</title>
		<link>http://www.sweeting.org/mark/blog/2005/07/12/base64-encoded-images-embedded-in-html#comment-145066</link>
		<author>3ed</author>
		<pubDate>Wed, 19 Nov 2008 12:43:17 +0000</pubDate>
		<guid>http://www.sweeting.org/mark/blog/2005/07/12/base64-encoded-images-embedded-in-html#comment-145066</guid>
		<description>jpg2b64() { echo -n 'src="data:image/jpg;base64,'; cat $1&#124;base64 --wrap=0; echo "\"" ; }

Usage:
html_header; echo -n '%img '; jpg2b64 file.jpg; echo 'bla="blabla"%'; echo '%/hrml%' % plik.html

% - you know</description>
		<content:encoded><![CDATA[<p>jpg2b64() { echo -n &#8217;src=&#8221;data:image/jpg;base64,&#8217;; cat $1|base64 &#8211;wrap=0; echo &#8220;\&#8221;" ; }</p>
<p>Usage:<br />
html_header; echo -n &#8216;%img &#8216;; jpg2b64 file.jpg; echo &#8216;bla=&#8221;blabla&#8221;%&#8217;; echo &#8216;%/hrml%&#8217; % plik.html</p>
<p>% - you know</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wolfgang Ulmer</title>
		<link>http://www.sweeting.org/mark/blog/2005/07/12/base64-encoded-images-embedded-in-html#comment-145041</link>
		<author>Wolfgang Ulmer</author>
		<pubDate>Fri, 24 Oct 2008 08:27:35 +0000</pubDate>
		<guid>http://www.sweeting.org/mark/blog/2005/07/12/base64-encoded-images-embedded-in-html#comment-145041</guid>
		<description>remove the quotes inside url() and it will work.</description>
		<content:encoded><![CDATA[<p>remove the quotes inside url() and it will work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vivek yadav</title>
		<link>http://www.sweeting.org/mark/blog/2005/07/12/base64-encoded-images-embedded-in-html#comment-143355</link>
		<author>vivek yadav</author>
		<pubDate>Tue, 22 Jan 2008 05:15:56 +0000</pubDate>
		<guid>http://www.sweeting.org/mark/blog/2005/07/12/base64-encoded-images-embedded-in-html#comment-143355</guid>
		<description>can someone tell me how to insert a base64 encoded image in css? something like this?

div style="
background-image:url("data:image/jpg;base64,---base64data---");
"</description>
		<content:encoded><![CDATA[<p>can someone tell me how to insert a base64 encoded image in css? something like this?</p>
<p>div style=&#8221;<br />
background-image:url(&#8221;data:image/jpg;base64,&#8212;base64data&#8212;&#8221;);<br />
&#8220;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hamali Studenti</title>
		<link>http://www.sweeting.org/mark/blog/2005/07/12/base64-encoded-images-embedded-in-html#comment-143335</link>
		<author>Hamali Studenti</author>
		<pubDate>Mon, 07 Jan 2008 12:14:05 +0000</pubDate>
		<guid>http://www.sweeting.org/mark/blog/2005/07/12/base64-encoded-images-embedded-in-html#comment-143335</guid>
		<description>I would say yes to that question. Seems that simply converting the JPG to XBM solves the problem for IE*.</description>
		<content:encoded><![CDATA[<p>I would say yes to that question. Seems that simply converting the JPG to XBM solves the problem for IE*.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LXj</title>
		<link>http://www.sweeting.org/mark/blog/2005/07/12/base64-encoded-images-embedded-in-html#comment-8893</link>
		<author>LXj</author>
		<pubDate>Sun, 18 Jun 2006 21:37:40 +0000</pubDate>
		<guid>http://www.sweeting.org/mark/blog/2005/07/12/base64-encoded-images-embedded-in-html#comment-8893</guid>
		<description>Looks like it works well in Opera 9</description>
		<content:encoded><![CDATA[<p>Looks like it works well in Opera 9</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Break</title>
		<link>http://www.sweeting.org/mark/blog/2005/07/12/base64-encoded-images-embedded-in-html#comment-5259</link>
		<author>Steve Break</author>
		<pubDate>Thu, 09 Feb 2006 14:08:02 +0000</pubDate>
		<guid>http://www.sweeting.org/mark/blog/2005/07/12/base64-encoded-images-embedded-in-html#comment-5259</guid>
		<description>I was doing this back in the year 2000&#38;1, for specialized purposes.  I never came across the XBM.  I still use this, actually.

IE and MS are annoying to work with in general.

Phi Tran, do you just convert the image from JPG to XBM and then it works in base64?  

You seemed to say requires multiple XBM or some 'Gradient' so that it can work???

I realize in other places you said that you don't want to say too much about your hard work, but give me a general idea please.  Is it as simple as converting to XBM?</description>
		<content:encoded><![CDATA[<p>I was doing this back in the year 2000&amp;1, for specialized purposes.  I never came across the XBM.  I still use this, actually.</p>
<p>IE and MS are annoying to work with in general.</p>
<p>Phi Tran, do you just convert the image from JPG to XBM and then it works in base64?  </p>
<p>You seemed to say requires multiple XBM or some &#8216;Gradient&#8217; so that it can work???</p>
<p>I realize in other places you said that you don&#8217;t want to say too much about your hard work, but give me a general idea please.  Is it as simple as converting to XBM?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phi Tran</title>
		<link>http://www.sweeting.org/mark/blog/2005/07/12/base64-encoded-images-embedded-in-html#comment-4480</link>
		<author>Phi Tran</author>
		<pubDate>Mon, 23 Jan 2006 04:46:28 +0000</pubDate>
		<guid>http://www.sweeting.org/mark/blog/2005/07/12/base64-encoded-images-embedded-in-html#comment-4480</guid>
		<description>We have found a workround for IE. When we translate the image into XBM files.

Each XBM file I use mask and other color filter such as alpha gradient to create exortic bitmaps images use XBM file only.

Thanks. There is a lot of example in MS filter code.
specially the maske and the gradient. Just copy the 'ShowMe" code then replace it div element by your own IMG element with your own img element to experience what XBM can do.

WE HAVE DONE, TESTED AND IT WORKS.

Thanks. 

Phi</description>
		<content:encoded><![CDATA[<p>We have found a workround for IE. When we translate the image into XBM files.</p>
<p>Each XBM file I use mask and other color filter such as alpha gradient to create exortic bitmaps images use XBM file only.</p>
<p>Thanks. There is a lot of example in MS filter code.<br />
specially the maske and the gradient. Just copy the &#8216;ShowMe&#8221; code then replace it div element by your own IMG element with your own img element to experience what XBM can do.</p>
<p>WE HAVE DONE, TESTED AND IT WORKS.</p>
<p>Thanks. </p>
<p>Phi</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jayram Krishnaswamy</title>
		<link>http://www.sweeting.org/mark/blog/2005/07/12/base64-encoded-images-embedded-in-html#comment-4207</link>
		<author>Jayram Krishnaswamy</author>
		<pubDate>Fri, 09 Dec 2005 01:16:54 +0000</pubDate>
		<guid>http://www.sweeting.org/mark/blog/2005/07/12/base64-encoded-images-embedded-in-html#comment-4207</guid>
		<description>The image shows up as an udnerscore in IE, but in FireFox you see a nice image.

My question is this:

The responseBody returned by a request to a Web Server needs to be retrived to show the image that it represents. What is the best way?
Is there a Javascript function that does it?</description>
		<content:encoded><![CDATA[<p>The image shows up as an udnerscore in IE, but in FireFox you see a nice image.</p>
<p>My question is this:</p>
<p>The responseBody returned by a request to a Web Server needs to be retrived to show the image that it represents. What is the best way?<br />
Is there a Javascript function that does it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luiz Angelo Daros de Luca</title>
		<link>http://www.sweeting.org/mark/blog/2005/07/12/base64-encoded-images-embedded-in-html#comment-4040</link>
		<author>Luiz Angelo Daros de Luca</author>
		<pubDate>Thu, 03 Nov 2005 06:01:11 +0000</pubDate>
		<guid>http://www.sweeting.org/mark/blog/2005/07/12/base64-encoded-images-embedded-in-html#comment-4040</guid>
		<description>Hello,

    I did a workarround to it in IE using php. I translate HTML+base64 in a Mime Digest. Take a look at

    http://www.lsc.ufsc.br/~luizd/base64-to-mhtml/workaround.html

</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>    I did a workarround to it in IE using php. I translate HTML+base64 in a Mime Digest. Take a look at</p>
<p>    <a href="http://www.lsc.ufsc.br/~luizd/base64-to-mhtml/workaround.html" rel="nofollow">http://www.lsc.ufsc.br/~luizd/base64-to-mhtml/workaround.html</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

