2BITIMAGE

by Sandro Maffiodo

WHAT IS:

2BITIMAGE is a simple web tool that convert images for the VGAX library. The VGAX library is a VGA signal generator for AVR. It can display a 120x60px framebuffer with 4 colors.


This tool convert the image FORMAT, by packing 4 pixels in one byte. This tool DONT perform any color conversion, nor any dithering or image resample.
VGAX can use 4 colors only, depending on how you wire your VGA DSUB15 connector. See [https://github.com/smaffer/vgax](VGAX on GitHub) for some documentations. To use 2BITIMAGE you must select your hardware colour combination. If your colour combination is not present in the list, please let me know.

RULES:

OPTIONS:

INPUT:

source image:

color combination:

output number format: decimal binary hexadecimal

generate data as a single line

sprite height: (zero if there are only one sprite)

output variable name:

OUTPUT: