Docs Home | Open App

Getting Started with image2cpp

  1. Upload your image or GIF.
  2. Pick a display size preset (for example 128x64 OLED).
  3. Adjust contrast and threshold until the preview looks clean.
  4. Choose output mode and variable name.
  5. Copy the generated array into your firmware project.

Minimal Arduino Example

#include <Adafruit_SSD1306.h>
#include "bitmap.h"

Adafruit_SSD1306 display(128, 64, &Wire, -1);

void setup() {
  display.begin(SSD1306_SWITCHCAPVCC, 0x3C);
  display.clearDisplay();
  display.drawBitmap(0, 0, epd_bitmap_img, 128, 64, WHITE);
  display.display();
}