drawsvg iconDraw-SVG user's guide
PreviousNextContentsPDFdrawsvg home

12.2. Base64 Image Encoder

Abstract

This chapter describes how to use the Image Encoder tool.

With this tool load an image file (png, jpg, svg,..) and encode it into base64 data:URL to use it in your SVG, CSS and XHTML pages.

There is no transformation of the image content. The data:URL computed retains the type of the source image such as:

Figure 12.1. Base64 image Encoder

Base64 image Encoder

Note

To copy text to the clipboard data:URL or HTML img code click on it and type ctrl + c. Then ctrl + v to paste it into your editor.