Image2Lcd is a widely used tool for embedded developers to convert image files into C-language arrays (bitmaps) suitable for LCD and e-Paper displays
Image2LCD output (simplified):
: Monochrome (1-bit) for e-Paper or 16-bit (RGB565) for color LCDs. image2lcd register code