Skip to content

About Picture

Jean-Baptiste Le Coz edited this page Oct 24, 2023 · 13 revisions

Introduction

The frontend Convert or Generate screen do all the work for you. BUT if you want to upload bitmap directly from the System screen, you need to read this.

Picture on the ESP8266

The ESP8266 is not powerful enough to handle compress format as jpeg, png... etc. So yours pictures has to follow a special organisation and format :

  • Only Bitmap with 24 bits per pixel (or 8 bits per color) are supported. If there is a problem with such a Bitmap, try to save it in bmp3 format.
  • Your Bitmap must be rotate by 90°. ImagePainting will display Bitmap line by line from the left to the right.
  • The width of your Bitmap has to be the same than the length of your LED strip or your Bitmap will be crop.

Bitmap specification

Here some documentation i had to read... Hopefully, i find this canvas-to-bmp code, but i had to modify it from 32-bits to 24-bits.

Clone this wiki locally