image2cpp

Click here to visit the Github repo for this tool.

1. Select image


no image selected
or

1. Paste byte array



2. Image Settings

* pixels

0 - 255; pixels with brightness above become white, below become black.



Centering the image only works when using a canvas larger than the selected image.


3. Preview


4. Output


Adds some extra Arduino code around the output for easy copy-paste into this example.



If your image looks all messed up on your display, like the image below, try the other mode.