AutoIt Script, Home Computing, My Codes - by Yen on Wednesday, July 8, 2009 4:16 - 0 Comments
Convert Icon File to Base64 String
When installing search plugins for my newly installed Firefox 3.5, I find that some icons for the search plugins are not as aesthetically pleasing as I would like. And so I decided to change the icons to my likings.
After a bit of searching, I found out that data for search plugin icons were saved in a search.json file in my Firefox profile folder. But the icons were not saved as physical .ico files, but were saved as a base-64 encoded string in the search.json file. Although it is possible make it point to a physical icon file, I prefer the neat and tidy way of using the base-64 encoded string. And so using AutoIt, I created a really simple program – Icon2Base64.
Since the program had been created, why not share it. Download Icon2Base64.zip and unzip using the password www.chewybyte.net. No installation required. Just make sure you open a 16×16 icon file (such as most favicons) and not one of those multiple format (dimension) icon files; you’ll get a very very long base-64 encoded string.
- Using NotePad++ for AutoIt Scripts
- Tray Icon for Vista Windows Mail
- Improved Version of Vista Mail Tray




Leave a Reply