This web page describes how to create bitmapped color images in a format that can be displayed using the E100's VGA controller.
color100 outputs the 8-bit pixel color values to two files: a binary file (suitable for an SD card) and an E100 assembly file. Each word in the output is a proper VGA color for the E100, so it can be sent directly to vga_color_write. The output starts at the upper left of the image and sweeps across a row, then goes to the next row, eventually reaching the lower right corner of the image.
The E100 VGA controller uses a color palette with only 256 colors: 8 intensities (3 bits) for red, 8 intensities (3 bits) for green, and 4 intensities (2 bits) for blue. This small color-palette makes it difficult to faithfully represent color images on the E100. color100 simply rounds each color in the image to the nearest color in the E100 palette, but this can lead to loss of detail and ugly pictures. You can use a technique called dithering to improve how color images look on the E100. Dithering alters the color of neighboring pixels to make a richer range of colors appear to the human eye when viewed from a distance, due to the mixing of the colors of nearby pixels by the human eye. To dither the image for the E100 color palette, replace 'nodither' with 'dither' in the rgb2ind function call in color100.