Image To Code Tool
Online Image To Code Converter
Drag your image here or click in this area.
Convert | Image | Name | Filesize |
|
Loading | ... |
This online tool will take an image and turn it into a Base64 encoded string you can copy into your code. For a full walkthrough and code samples check out our tutorial, which includes code samples for showing the images in various languages and frameworks.
The tool with turn your image into a 2 colour image and encode it as bytes. The first byte is the width, second byte is the height and the remaining bytes are the pixels. Each byte is 8 pixels with 1 bit per pixel.
This is perfect for quickly getting images and splash screens onto small displays like the SSD1306 without having to load any extra files.