pushImage wrong colors #1890
ameliaamelia
started this conversation in
Alerts
Replies: 1 comment
-
Use setSwapBytes(true or false) to bontrol endianess management of different firmat images. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
version: 2.4.61
ESP32
ILI9341
The command:
tft.pushImage(101, 51, 96, 48, HeaterImg96);
produces wrong colors, for example MAGENTA 0xF81F is rendered as near CYAN 0x07FF
MAGENTA inverted #0x1FF8.
TFT_eESPI.cpp the line 1464: buffer[j] = pgm_read_word(&data[i * w + j]);
must invert the two bytes;
Beta Was this translation helpful? Give feedback.
All reactions