Convert images to base64
- Total 5K
- Win 3K
- OS X 2K
- Linux 538
|Feb 25||Feb 24||Feb 23||Feb 22||Feb 21||Feb 20||Feb 19||Feb 18||Feb 17||Feb 16||Feb 15||Feb 14||Feb 13||Feb 12||Feb 11||Feb 10||Feb 9||Feb 8||Feb 7||Feb 6||Feb 5||Feb 4||Feb 3||Feb 2||Feb 1||Jan 31||Jan 30||Jan 29||Jan 28||Jan 27||Jan 26||Jan 25||Jan 24||Jan 23||Jan 22||Jan 21||Jan 20||Jan 19||Jan 18||Jan 17||Jan 16||Jan 15||Jan 14||Jan 13||Jan 12||Jan 11|
Now supports 2 and 3 version of Sublime Text
This is a Sublime Text plugin allowing you to open images as converted to base64.
Press Ctlp+p and search for “Image2Base64” commands
Press Ctrl+i+b (hold Ctrl and consequently press i and b),
base64. Then select image to be copied to clipboard as base64 code.
Also if you use Sublime Text 2 you can just click on image file in sidebar or open it and it will be opened as base64 code.
Press Ctrl+u+b (hold Ctrl and consequently press u and b),
base64. Then input image url to be copied to clipboard as base64 code.
Please note that Sublime Text 2 doesn't support HTTPS so images cannot be loaded over HTTPS
The easiest way to install this is with Package Control.
- If you just went and installed Package Control, you probably need to restart Sublime Text before doing this next bit.
- Bring up the Command Palette (Command+Shift+p on OS X, Control+Shift+p on Linux/Windows).
- Select “Package Control: Install Package” (it'll take a few seconds)
- Select Image2Base64 when the list appears.
Package Control will automatically keep Git up to date with the latest version.
Create plugin folder in Sublime's user packages directory and copy all plugin files there. Then restart Sublime Text.
Andrey Petrov for code review and Python consultancy
If you have some problems or improvements with it, contact me via GitHub.