How to convert a BMP image to RGB565 with ESP32 (Arduino)
I am currently working on a project involving an ESP32. The ESP32 retrieves a BMP image from a PHP page that converts a JPG to BMP. The ESP32 then needs to convert the BMP image into RGB565 data to be displayed using LVGL. The issue is not with the display or LVGL, as standard images are displayed correctly. However, when the converted image is displayed, it is recognizable, but the colored pixels appear to be randomly placed. I have included pictures at the end for reference.