Thank you so much ! It works as I want it!
Could you explain why you need it in SRAM?
If I use dozens of pages with the same layout and multiple images per page, the code will be cleaner.
Kind of like this:
// different images are stored with PROGMEM
const size_t aFlashBitmapSize = sizeof aFlashBitmap;
uint8_t actualLogo[aFlashBitmapSize];
int brand =1;
---------
if(brand==1){
memcpy_P(actualLogo, logoA, aFlashBitmapSize);
memcpy_P(actualLogo2, logoB, aFlashBitmapSize);
//etc
}
tft.drawBitmap(30, 30, actualLogo1, 64, 64, BLACK, WHITE);
tft.drawBitmap(30, 150, actualLogo2, 64, 64, BLACK, WHITE);
//etc