Datafication
If you us a Gecko-based browser like Phoenix, Netscape, Mozilla, Chimera or something else, then you can take advantage of the fact that they support the data: URL . This application allows you to choose an image and will in turn convert it to a data url which you can then paste into your HTML page. This is handy when you want a document to carry around the images that it needs. This is also handy for bloggers who can simply paste the image into a blog posting and have it stay with the post without having to upload a separate image. Note that although you could use this for large images, it really is meant for smaller type images - since it takes some time for the browser to decode it.
Here's an example:
This is my own creation - though it uses some code from Charles Yeomans for the Base64 conversion.
I also want to thank Dr Brain for the inspiration for this app, as I've emulated his excellent datafy.rb (ruby) script. Check out his script because it's actually much more versatile than my simple app - but you need to have Ruby running somewhere on your machine.
Here's the link to the data URL spec, which has been around since 1998!
Download it here for Mac OS X and Windows:



0 Comments:
Post a Comment
<< Home