Overview of Arduino JPEGDecoder
masterThe JPEGDecoder library allows for rendering JPEG files onto TFT displays. It supports images stored on an SD card, in program memory (FLASH) arrays, or in the LittleFS Flash filing system (on RP2040, ESP8266, and ESP32).
Key Constraints & Requirements:
- Format: Jpeg files must be in 24-bit format. 8-bit JPEGs are not supported.
- Progressive JPEGs: Not supported (requires too much memory).
- RAM Requirements: Decompression requires significant RAM. It is recommended to use processors with more RAM than an Arduino UNO (e.g., Arduino Due, ESP32, ESP8266, or STM32). The Arduino Mega is not recommended due to potential RAM shortages during decoding.
- AVR Array Limits: For AVR processors (like Mega2560), the maximum size for a memory array is 32,767 bytes.