[Ed. Note:  The following was excerpted from the iff2sun.c source file. 
 -Fred ><> ]

/*
**      This Program created (under tremendous pressure) by Steve Berry.
**
**      I hope you guys keep it clean. (If you don't, let me know :-)
**
**      Status: PD all the way.
**
**      What's it do? This little guy reads an Amiga IFF ILBM file and 
**      outputs sun rasterfile format. GIGO (Georgous In Garbage Out).
**
**	USEAGE: iff2sun infile outfile
**		if infile is not specified stdin is used.
**		if outfile is not specified then stdout is used.
**
**	Note: this program outputs a COLOR sun file with no color table,
**	which defaults to shades of gray. If you want to display this on
**	a monochrome tube (which is what I have) you should go through the
**	folowing steps:
**		1) iff2sun inputfile outputfile
**		2) rastrepl outputfile output.bigger
**		3) rasfilter8to1 -d output.bigger output.mono
**	The rastrepl just pixel replicates the image so that it large
**	enough to see the detail. you can run this as many times as you
**	like, but remember the image quadruples each time you use it.
**		The rasfilter8to1 program converts the color file (8 bit
**	planes) to mono (1 plane) and does some fancy dithering (-d).
**
**	Limitations:
**		Don't do HAM or ExtraHalfBright. I am planning on adding
**		EHB because it would be relitively simple to do, and 64
**		colors would improve the image quality for the dithering
**		routines.
**		Also, I have only tested this on DPaintII images, it is
**		very possible that it might break with other formats.
**		Unlikely, but possible :*)
**
**	CREDITS:
**			Mark Thompson
**			Steve (Raz) Berry
**
**	Contacts:
**			USENET	...alliant!sberry
**			BIX:	razberry
**
**      10/31/88
*/
