I am looking for a function to perform enhanced run length encoding (RLE) of 8bit images for the DLP LightCrafter 6500. I would like to use the output of the function to upload the image on the DMD using the "PATMEM_LOAD_DATA_MASTER" command. Is there an encoding function I can use, preferably optimized for Python?
Thank you!