Closed mannasproductions closed 1 year ago
Is the image data in the correct BMP format?
Please attach the file train_ba.bmp
I tested with other files, and now it works perfectly! I didn't think it would be the file, because i saved the file as different file types, and they all did not work. But with the other files it works fine!
Sorry for not testing this in advance, and thanks for your quick response!
When I try "drawBmp" with SPIFFS as a source, it prints a scrambled image (see image below, should be a train). When I try the "drawJpg" with a jpg file it prints no image (not in current code example). Both images are on the SPIFFS and are both 160x100 pixels.
Can you tell me what is going wrong? Code runs on an esp32 board (esp32-2432s028) My code is below.