Convert images to packed byte arrays for embedded systems, Arduino, and Rust projects
Bitmap to Array Converter is a powerful tool for converting images into packed byte arrays suitable for embedded systems development. It supports multiple bits-per-pixel (1/2/4/8 bpp), various dithering algorithms, and multiple output formats including C arrays, Arduino PROGMEM, and Rust arrays. All processing happens locally in your browser for privacy and speed.
Support for 1, 2, 4, and 8 bits per pixel for various display types
High-quality dithering algorithm for better grayscale representation
See the converted output in real-time as you adjust settings
C array, Arduino PROGMEM, Rust array, and hex string formats
Choose MSB-first or LSB-first packing for your target platform
Top-to-bottom or bottom-to-top row ordering support
All conversion happens locally in your browser - no server upload
Your settings are saved automatically for future sessions
Standard C array with const uint8_t declaration
Flash memory storage for Arduino projects
Static byte array for Rust embedded projects
Raw hexadecimal string for custom parsing
Use 1 bpp for monochrome displays (OLED, e-ink), 2 bpp for 4-level grayscale, 4 bpp for 16-level grayscale, and 8 bpp for full 256-level grayscale displays.
Enable Floyd-Steinberg dithering when converting photographic or gradient images to lower bit depths. It creates the illusion of more colors/shades by distributing quantization errors to neighboring pixels.
MSB-first (Most Significant Bit) packs the leftmost pixel into the highest bit, while LSB-first (Least Significant Bit) packs it into the lowest bit. Check your display driver documentation for the correct setting.
Yes! All image processing happens entirely in your browser using JavaScript. Your images are never uploaded to any server.
Absolutely! The generated output is yours to use in any project, commercial or personal.