loboris / ESP32_TFT_library

Full featured TFT library for ESP32 with demo application
564 stars 219 forks source link

BMP image don't work fine #92

Open romocitto88 opened 3 years ago

romocitto88 commented 3 years ago

Hi, I am using this library and trying to print some bmp images on my ST7789V TFT: when the size of the bmp image hh x ww are not multiples of 4 it is printed not very well. It looks like, from bottom to top, the first pixels is printed shifted to the right by "x" pixels from the previous row.

For example (the numbers rappresent the pixel order, "x" shifter is 1 just for the example):

6 7 8 1 2 3 4 7 8 1 2 3 4 5 8 1 2 3 4 5 6 1 2 3 4 5 6 7

I'm doing something wrong?