feat: Add JPEG decoder configuration and fix LCD color inversion

This commit is contained in:
Adolfo Reyna
2026-07-08 23:20:06 -04:00
parent 4003065074
commit e4b95396dd
2 changed files with 5 additions and 3 deletions
@@ -10,8 +10,10 @@ bool isSupportedAppFile(const std::string& filename) {
}
bool isSupportedImageFile(const std::string& filename) {
// Currently only the PNG library is built into Tactility
return string::lowercase(filename).ends_with(".png");
std::string filename_lower = string::lowercase(filename);
return filename_lower.ends_with(".png") ||
filename_lower.ends_with(".jpg") ||
filename_lower.ends_with(".jpeg");
}
bool isSupportedTextFile(const std::string& filename) {