Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there some plugin for Sublime Text 2 to encode images to base64

There is cool plugin for Coda to encode images to base64 string by selecting the image path in code and then pressing hotkey.

Is there such one for Sublime Text 2? I found only one base64 encoder in Package Control set, but It encode only strings.

like image 958
Maxim Ponomarev Avatar asked Aug 26 '12 07:08

Maxim Ponomarev


People also ask

How do I decode Base64 in Sublime Text?

Base 64 Decode/Encode When you have a text that you like to base64 encode/decode, just type Shift+Command+P and type Base64 and select either Encode or Decode, then hurray…! Converted!


1 Answers

It's included in Emmet (formerly Zen Coding) Place your caret on an image, goto command palette and type "Encode/Decode Image" (or just "base" in Zen Coding), hit enter.

like image 144
runningRhetoric Avatar answered Sep 23 '22 20:09

runningRhetoric