This Page will only works correctly on computer

Watch this video

Subscribe To Our Channel


Image2cpp is a simple tool to change images into byte arrays for use with Arduino and (monochrome) displays such as OLEDs.
More info (and credits) can be found in the Github repository. This is also where you can report any issues you might come across.

Credit

Initial code by javl, with aditional code by wiredolphindavidalim and whoisnian

1. Select image


2. Image Settings

    Only images file type are allowed
    No files selected

    0 - 255; pixels with brightness above become white, below become black.
    NOTE: 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 multiple images are loaded, generates a byte array for each and appends 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 ouput. Used by a modified version of the Adafruit GFX library. GitHub project and example here.
    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.
    Scroll to Top