-
Notifications
You must be signed in to change notification settings - Fork 0
Encode Decode Image to data URL
Amadej Glasenčnik edited this page Dec 23, 2023
·
1 revision
HTML and CSS allows you to embed external resources right into base using data:URL scheme. Usually, image conversion to base64 is done with external on-line services or third-party assets builder.
But these tools have downsides: you have to spend extra time on on-line tools or lose control on images that should or should not be converted to base64.
With Emmet, you can convert image to data:URL right in your editor, as well as convert it back to external file.
Encoding/Decoding is invoked by pressing: Ctrl + Shift + I
This documentation is based on the concepts and ideas of Emmet.
For the source code of EmmetVS, please visit the GitHub repository.