ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Image​2​Base​64

by tm-minty ALL

Convert images to base64

Details

Installs

  • Total 7K
  • Win 4K
  • Mac 3K
  • Linux 790
Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25
Windows 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 2 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0
01234Jan 8Jan 5Jan 2Dec 30Dec 27Dec 24Dec 21Dec 18Dec 15Dec 12Dec 9Dec 6Dec 3Nov 30Nov 27Jan 8 Linux: 0 Mac: 0 Windows: 0Jan 7 Linux: 0 Mac: 0 Windows: 0Jan 6 Linux: 0 Mac: 0 Windows: 0Jan 5 Linux: 0 Mac: 0 Windows: 0Jan 4 Linux: 0 Mac: 0 Windows: 0Jan 3 Linux: 0 Mac: 0 Windows: 0Jan 2 Linux: 0 Mac: 0 Windows: 0Jan 1 Linux: 0 Mac: 0 Windows: 1Dec 31 Linux: 0 Mac: 0 Windows: 0Dec 30 Linux: 0 Mac: 0 Windows: 0Dec 29 Linux: 0 Mac: 0 Windows: 0Dec 28 Linux: 0 Mac: 0 Windows: 0Dec 27 Linux: 0 Mac: 0 Windows: 0Dec 26 Linux: 0 Mac: 0 Windows: 0Dec 25 Linux: 0 Mac: 1 Windows: 0Dec 24 Linux: 0 Mac: 1 Windows: 0Dec 23 Linux: 0 Mac: 0 Windows: 0Dec 22 Linux: 0 Mac: 0 Windows: 1Dec 21 Linux: 0 Mac: 0 Windows: 0Dec 20 Linux: 0 Mac: 0 Windows: 0Dec 19 Linux: 0 Mac: 0 Windows: 0Dec 18 Linux: 0 Mac: 0 Windows: 0Dec 17 Linux: 0 Mac: 0 Windows: 0Dec 16 Linux: 0 Mac: 0 Windows: 0Dec 15 Linux: 0 Mac: 0 Windows: 0Dec 14 Linux: 0 Mac: 0 Windows: 0Dec 13 Linux: 0 Mac: 0 Windows: 0Dec 12 Linux: 0 Mac: 0 Windows: 0Dec 11 Linux: 0 Mac: 0 Windows: 0Dec 10 Linux: 0 Mac: 0 Windows: 0Dec 9 Linux: 0 Mac: 0 Windows: 0Dec 8 Linux: 0 Mac: 0 Windows: 0Dec 7 Linux: 0 Mac: 0 Windows: 0Dec 6 Linux: 0 Mac: 1 Windows: 0Dec 5 Linux: 0 Mac: 0 Windows: 0Dec 4 Linux: 0 Mac: 2 Windows: 0Dec 3 Linux: 0 Mac: 0 Windows: 0Dec 2 Linux: 0 Mac: 0 Windows: 1Dec 1 Linux: 0 Mac: 0 Windows: 0Nov 30 Linux: 0 Mac: 0 Windows: 0Nov 29 Linux: 0 Mac: 0 Windows: 0Nov 28 Linux: 1 Mac: 0 Windows: 1Nov 27 Linux: 0 Mac: 0 Windows: 0Nov 26 Linux: 0 Mac: 0 Windows: 0Nov 25 Linux: 0 Mac: 0 Windows: 0Jan 8 Linux: 0 Mac: 0 Windows: 0Jan 7 Linux: 0 Mac: 0 Windows: 0Jan 6 Linux: 0 Mac: 0 Windows: 0Jan 5 Linux: 0 Mac: 0 Windows: 0Jan 4 Linux: 0 Mac: 0 Windows: 0Jan 3 Linux: 0 Mac: 0 Windows: 0Jan 2 Linux: 0 Mac: 0 Windows: 0Jan 1 Linux: 0 Mac: 0 Windows: 1Dec 31 Linux: 0 Mac: 0 Windows: 0Dec 30 Linux: 0 Mac: 0 Windows: 0Dec 29 Linux: 0 Mac: 0 Windows: 0Dec 28 Linux: 0 Mac: 0 Windows: 0Dec 27 Linux: 0 Mac: 0 Windows: 0Dec 26 Linux: 0 Mac: 0 Windows: 0Dec 25 Linux: 0 Mac: 1 Windows: 0Dec 24 Linux: 0 Mac: 1 Windows: 0Dec 23 Linux: 0 Mac: 0 Windows: 0Dec 22 Linux: 0 Mac: 0 Windows: 1Dec 21 Linux: 0 Mac: 0 Windows: 0Dec 20 Linux: 0 Mac: 0 Windows: 0Dec 19 Linux: 0 Mac: 0 Windows: 0Dec 18 Linux: 0 Mac: 0 Windows: 0Dec 17 Linux: 0 Mac: 0 Windows: 0Dec 16 Linux: 0 Mac: 0 Windows: 0Dec 15 Linux: 0 Mac: 0 Windows: 0Dec 14 Linux: 0 Mac: 0 Windows: 0Dec 13 Linux: 0 Mac: 0 Windows: 0Dec 12 Linux: 0 Mac: 0 Windows: 0Dec 11 Linux: 0 Mac: 0 Windows: 0Dec 10 Linux: 0 Mac: 0 Windows: 0Dec 9 Linux: 0 Mac: 0 Windows: 0Dec 8 Linux: 0 Mac: 0 Windows: 0Dec 7 Linux: 0 Mac: 0 Windows: 0Dec 6 Linux: 0 Mac: 1 Windows: 0Dec 5 Linux: 0 Mac: 0 Windows: 0Dec 4 Linux: 0 Mac: 2 Windows: 0Dec 3 Linux: 0 Mac: 0 Windows: 0Dec 2 Linux: 0 Mac: 0 Windows: 1Dec 1 Linux: 0 Mac: 0 Windows: 0Nov 30 Linux: 0 Mac: 0 Windows: 0Nov 29 Linux: 0 Mac: 0 Windows: 0Nov 28 Linux: 1 Mac: 0 Windows: 1Nov 27 Linux: 0 Mac: 0 Windows: 0Nov 26 Linux: 0 Mac: 0 Windows: 0Nov 25 Linux: 0 Mac: 0 Windows: 0Jan 8 Linux: 0 Mac: 0 Windows: 0Jan 7 Linux: 0 Mac: 0 Windows: 0Jan 6 Linux: 0 Mac: 0 Windows: 0Jan 5 Linux: 0 Mac: 0 Windows: 0Jan 4 Linux: 0 Mac: 0 Windows: 0Jan 3 Linux: 0 Mac: 0 Windows: 0Jan 2 Linux: 0 Mac: 0 Windows: 0Jan 1 Linux: 0 Mac: 0 Windows: 1Dec 31 Linux: 0 Mac: 0 Windows: 0Dec 30 Linux: 0 Mac: 0 Windows: 0Dec 29 Linux: 0 Mac: 0 Windows: 0Dec 28 Linux: 0 Mac: 0 Windows: 0Dec 27 Linux: 0 Mac: 0 Windows: 0Dec 26 Linux: 0 Mac: 0 Windows: 0Dec 25 Linux: 0 Mac: 1 Windows: 0Dec 24 Linux: 0 Mac: 1 Windows: 0Dec 23 Linux: 0 Mac: 0 Windows: 0Dec 22 Linux: 0 Mac: 0 Windows: 1Dec 21 Linux: 0 Mac: 0 Windows: 0Dec 20 Linux: 0 Mac: 0 Windows: 0Dec 19 Linux: 0 Mac: 0 Windows: 0Dec 18 Linux: 0 Mac: 0 Windows: 0Dec 17 Linux: 0 Mac: 0 Windows: 0Dec 16 Linux: 0 Mac: 0 Windows: 0Dec 15 Linux: 0 Mac: 0 Windows: 0Dec 14 Linux: 0 Mac: 0 Windows: 0Dec 13 Linux: 0 Mac: 0 Windows: 0Dec 12 Linux: 0 Mac: 0 Windows: 0Dec 11 Linux: 0 Mac: 0 Windows: 0Dec 10 Linux: 0 Mac: 0 Windows: 0Dec 9 Linux: 0 Mac: 0 Windows: 0Dec 8 Linux: 0 Mac: 0 Windows: 0Dec 7 Linux: 0 Mac: 0 Windows: 0Dec 6 Linux: 0 Mac: 1 Windows: 0Dec 5 Linux: 0 Mac: 0 Windows: 0Dec 4 Linux: 0 Mac: 2 Windows: 0Dec 3 Linux: 0 Mac: 0 Windows: 0Dec 2 Linux: 0 Mac: 0 Windows: 1Dec 1 Linux: 0 Mac: 0 Windows: 0Nov 30 Linux: 0 Mac: 0 Windows: 0Nov 29 Linux: 0 Mac: 0 Windows: 0Nov 28 Linux: 1 Mac: 0 Windows: 1Nov 27 Linux: 0 Mac: 0 Windows: 0Nov 26 Linux: 0 Mac: 0 Windows: 0Nov 25 Linux: 0 Mac: 0 Windows: 0

Readme

Source
raw.​githubusercontent.​com

Image2Base64

Now supports 2 and 3 version of Sublime Text

About

This is a Sublime Text plugin allowing you to open images as converted to base64.

Usage

Press Ctlp+p and search for “Image2Base64” commands

or

Press Ctrl+i+b (hold Ctrl and consequently press i and b), like image->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), like url->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

Install

Package Controll

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.

Alternative

Create plugin folder in Sublime's user packages directory and copy all plugin files there. Then restart Sublime Text.

Thanks

Andrey Petrov for code review and Python consultancy

Ladios Jonquil and Julien Bouquillon for contributing

Contact me

If you have some problems or improvements with it, contact me via GitHub.