Simple tool to change images into byte arrays for OLED displays

radiosparks

Member
Just for your information,

Here is a neato-cool way to convert images into byte arrays (or arrays back into an images) for use with (monochrome) displays such as OLEDs.


image2cpp

LINK: https://javl.github.io/image2cpp/

CODE is standalone Open source and runs on a single web page.
GitHub: https://github.com/javl/image2cpp

Even though the page only mentions the other micro-controllers, the code can be exported as plain bytes.

Pictured below is the logo from my web site displayed on a 128X64 I2C OLED SSD1315. Used a PICAXE 08M2 for the demo.

KUDOS to Hippy for the core code to init the display.


25862
 
Top