Image to C Array
Generate a .h byte array for embedded, Arduino, GRUB or Plymouth themes.
← tux.fan Toolbox
EN
中文
Step 1 · Upload an image
Drop image here or click to choose
PNG, JPG, WebP, BMP — anything your browser can decode
Step 2 · Configure
Color mode
RGBA8888 (4 bytes/pixel)
RGB888 (3 bytes/pixel)
Grayscale 8-bit (1 byte/pixel)
Monochrome 1-bit (packed)
Max width (px)
C array name
Also include width/height ints
12 bytes per line
Step 3 · Generate & copy
Generate
Copy
Download .h
Output