image2bytes is a simple tool to change images into byte arrays (or arrays back into an images) for use with (monochrome) displays such as OLEDs on your Raspberry Pi Pico or ESP32.
1. Select image
All processing is done locally in your browser; your images are not uploaded or stored anywhere online.
or
1. Paste byte array
x
px
Read images appear at step 3 below
2. Image Settings
Only images file type are allowed
No files selected
0 - 255; if the brightness of a pixel is above the given level the pixel becomes white, otherwise they become black. When using alpha, opaque and transparent are used instead.
Centering the image only works when using a canvas larger than the original image.
3. Preview
No files selected
4. Output
If your image looks all messed up on your display, like the image below, try using a different mode.