[thelist] Hex encode images for HTML emails — how?

Daniel Burke dan.p.burke at gmail.com
Thu Jun 11 10:16:06 CDT 2009


In Outlook, click on "Insert->Images".

If you're actually planning on writing some HTML and getting your hands
dirty, there's this thing called "MIME", you may have heard of it. How you
go about dealing with it depends entirely which language/tools you are
using. And in true style, you did not give us any of that information; the
only option you have left us is patronisation. So without further adieu...


"It's your privilege as an artist to inflict the pain of creativity on
yourself." --Programming Perl 3rd Edition, end of first chapter.

On Fri, Jun 12, 2009 at 12:30 AM, Barney Carroll <barney at clickwork.net>wrote:

> Hello list,
> I'm building a short-run HTML email campaign for a client. Because they
> don't know where to host the source files, and I find the idea of
> dependency
> on hosting and absolute refs for an email generally cumbersome
> (everything's
> better self-contained, right?), I was wanting to hex-encode the image code
> into the markup.
> I first bumped into the technique when perusing John Hicks' Firefox Stylish
> extension skin for Google Reader — which included new graphics that were
> hard-coded into the CSS — which is a nice piece of work for all sorts of
> other reasons as well:
> http://hicksdesign.co.uk/journal/google-reader-theme
> I've tried Googling tools and methods for this in the past but never got
> any
> comprehensive resources/info on the matter (and besides it's never been
> absolutely essential) — specifically I haven't found:
>   1. A tool that will convert an image file to hex string.
>   2. The requisite syntax for inserting hex strings into HTML img src
>   attributes.
> Does anybody have any experience of this? I'd really appreciate it if I
> could get some specific resources rather than a convenient search string
> appended to a humiliating lmgtfy.com URL :)
> Regards,
> Barney Carroll
> Web designer & front-end developer
> web: www.clickwork.net
> mobile: +44 (0) 7594 506 381
> home: +44 (0) 118 975 0020
> twitter: @barneycarroll
> --
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !

More information about the thelist mailing list