I need to convert some images to base64 for embedding into my CSS... anyone know a simple site that will allow me to simply enter a URI and have it convert so I can copy-paste into my code?
+4
A:
Yes, funny that you answered a question of mine and now I can answer yours. :-)
I am sure there are many other sites that can do this, but I like to use:
http://www.greywyvern.com/code/php/binary2base64
It is reeeeealy simple. You enter the URI of the image you want to convert and it displays the converted code into the box, ready to be copy-pasted into your CSS!
I use it all the time.
henkojinko
2010-07-29 08:51:54
Doesn't let you enter a URL does it?
Martin Smith
2010-07-29 08:54:14
You can click brose, and then enter url into pop-up file picker field. That all.
antyrat
2010-07-29 08:59:20
that's not a URL!
Martin Smith
2010-07-29 11:24:42
But you can insert url to it either. Just try.
antyrat
2010-07-29 11:32:50
@antyrat. I never knew you could do that! Aplogies...
Martin Smith
2010-07-29 16:07:15
@Martin Smith Nothing worry. I myself learned about this about month ago ;)
antyrat
2010-07-29 16:11:59