README
1
2This directory contains sources for programs to read RLE files and
3display them on various sorts of displays. Since most sites will not
4have all the different displays, or we may not have written a "get"
5program for your favorite display, this file contains a few words on
6rolling your own.
7
8The simplest way to write a "get" program for your display device is
9to use rle_getrow to read successive scanlines, and send them to the
10display using a "pixel put" routine. If you need to dither the pixel
11values, you can steal the dithering code from getX11.c (or tools/to8.c,
12but that code is not as general). Be sure to be careful about files
13with other than straight RGB images.
14
15If your display supports 24 bits of color, and can be written to one
16channel at a time, you can use the raw interface and interpret the
17opcodes directly into operations on your display. Some output
18buffering usually helps to make this fast. The program 'gmr27/getfb'
19uses this philosophy, but it reads the RLE file directly (it precedes
20the 'raw' interface).
21
22If you do write a program for a display device that is not supported
23in this distribution, please send it to us, so we can add it to the
24distribution, and others will not have to duplicate your hard work.
25Similarly, if you are thinking of writing a display driver, you might
26send us a note and see if anyone else has already done one.
27
28Spencer W. Thomas
29Rod G. Bogart
30University of Michigan
31July, 1990
32
33spencer@eecs.umich.edu
34rgb@caen.engin.umich.edu
35