I'm decoding a 64x64 PNG file with CMD_LOADIMAGE and this gives me a PALETTED4444 image.
Looking at page 63 in BRT_000225, I see that it uses 16 bits, 4 for each components of the pixel, which matches the name of that format.
As a result, I give 64*2=128 as the linestride value in the BITMAP_LAYOUT command.
But this gives me a scaled down by 2 bitmap on the TFT.
I thus looked around the datasheet, and at page 60 it says that PALETTED4444 is using 8 bits per pixel which goes against what's shown at page 63. So what's the real value to use as the multiplier for linestride? 1 or 2?
And what is the memory layout for such a bitmap? With ARGB4, it's easy: 64*64*2 = 8192 bytes. But how do I know how much RAM is consumed by a PALETTED4444 image created by CMD_LOADIMAGE?