LCDAssistant - image2cpp is a simple tool for converting photos into byte arrays (or converting your array back into a photo) for use with OLED (monochrome) screens, such as those found in Arduino or Raspberry Pi projects. This tool is especially useful for programming images on monochrome displays like OLEDs.

1. Select image

All operations are performed locally in your browser; your photos 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. Çıktı

    This oled_example adds some extra Arduino code around the output to easily copy and paste it. If multiple images are uploaded, it creates a byte array for each one and adds a counter to the identifier.
    Adds some extra Arduino code around the output for easy copy-paste. If multiple images are loaded, generates a single byte array.
    Creates a GFXbitmapFont formatted output. Used by a modified version of the Adafruit GFX library. GitHub project and example bitmap-font
    First ASCII character value is used only if a glyph identifier of length equal to 1 is not provided for each image. The value itself will be incremented by 1 for each glyph.

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

    info image
    Useful when working with the u8g2 library.