MarlinFirmware / MarlinDocumentation

Marlin Firmware Documentation Project
https://marlinfw.org
GNU General Public License v3.0
366 stars 763 forks source link

add RLE16 data to RGB565 Converter #512

Closed ellensp closed 11 months ago

ellensp commented 1 year ago

Update the RGB565 Converter to add RLE16 data as per https://github.com/MarlinFirmware/Marlin/pull/26011

Code is same as python code in 26011 just ported to javascript

I ran the code through an online beautifier https://beautifier.io/ Though I'm sure you will want to adjust it.

ellensp commented 1 year ago

Note this will generate rle16 C data, but currently I have not implemented accepting pasted rle C data... Im working on that, but my motivation is lacking.

ellensp commented 11 months ago

Added ability to use pasted rle16 C data.

Note: this is keyed off the array name. eg marlin_logo_195x59x16_rle16 Needs to end is rle16 to tell the program it is rle16 data and need to have dimensions so the code can recreate the image