Below is the standard C function to set the display address window registers before dumping the Image2Lcd array.
const unsigned char gImage_logo[153600] = 0xFF, 0x00, 0x1F, 0xF8, ... ; image2lcd register code
Help you for your specific project (Arduino/STM32) Below is the standard C function to set
Standard for color TFT screens (ST7735, ILI9341). Monochrome (1-bit): Standard for OLED screens (SSD1306). image2lcd register code
#include "image.h" // Assume LCD_Address_Set and Data_Cmd_State are functions you've written to control your LCD.