*DISCLAIMER - READ THIS FIRST* 

This software was created as throw-away code, and its life expectancy
was intended to be mere minutes. However, it is being released under the GPL
following a number of requests. Do *not* expect any order, sense, or coherency
in this code, also note the comments may well apply to other programs and other
used. If you can't understand it, can't build it, can't use it, don't expect any
help from me. To make it do what you want, or to repeat any of my APOD work,
you will have to comment/uncomment/twiddle various sections of the code.

Consider yourself warned.

The one area where I'll possibly answer queries is in relation to the processing
algorithms (mostly in the latter part of gfxnix.c). If you think these aren't
doing the right thing or could be introducing material artifacts, then there's
a reasonable chance I'll reply to (sensible) queries.

For the email address, either look at the reference website for this work, or
try sending mail to hapod<at>hazeii.net.

N Newell - 19-Dec-2004.

About the software
------------------

These programs were created from existing code as quick throw-away hacks in
order to process the APOD image for 7-Dec-2004 (q.v.). The main image processing
program requires linux/X11 (might work under other *nix), the subsidiary program
is just used to create the input data and perform various cross-checks.

The following modules comprise the main imaging processing program:-

	apod.c - The main controlling program
	gfxnix.c - X11 graphics driver with various image processing hacks added

The following is for other preparatory processing:-

	imdiff.c - generic program to compute diffs, prepare test images etc.


Building the software
---------------------

Create a script file containing the following two lines, and use that
to build the program.

cc -c -O2 gfxnix.c
cc -O2 apod.c gfxnix.o -o apod -lX11 -L/usr/X11R6/lib -lm
