fdivitto / FabGL

ESP32 Display Controller (VGA, PAL/NTSC Color Composite, SSD1306, ST7789, ILI9341), PS/2 Mouse and Keyboard Controller, Graphics Library, Sound Engine, Game Engine and ANSI/VT Terminal
http://www.fabglib.org
Other
1.48k stars 220 forks source link

Image Display #351

Open nucl123 opened 1 year ago

nucl123 commented 1 year ago

Thanks for this great library. I have tried displaying an image with : https://github.com/fdivitto/FabGL/discussions/160 but it doesn't seems to work. I can see that this code is an adaption of TJpg_Decoder example script and that example is working fine with TFT displays, but not this VGA version.All other examples provided by FabGL is running smoothly for me. I am using the latest versions of TJpg_Decoder and FabGL. Please have a look, Thanks

nucl123 commented 1 year ago

I was able to solve the issue:

Tested with latest versions of both libraries and it is working fine.

Important points to consider:

  1. File should be uploaded using the plugin: https://github.com/me-no-dev/arduino-esp32fs-plugin and this plugin is not supported in latest version of Arduino IDE. So will have to switch to older versions like 1.8

  2. File extension should be matching.