rainbow@sbcs.sunysb.edu (Hong Min) (10/14/88)
I posted a SUN raster file color to mono converter named 8to1 in comp.sources.misc. The shar file includes two independent files. 8to1.c -- This program converts a 8-bit depth sun raster file (both color, i.e. rgb are different, and grey, i.e. rgb are the same, and both standard format and byte-encoded format) to a 1-bit depth mono sun raster file. If your color image has no colormap, this program would provide a default grey scale color map. It implements several halftone algorithms from Digital Halftones by Dot Diffusion in acm Transactions on Graphics, such as error diffusion, ordered dither and dot diffusion with and without edge enhancement. scload.c -- a screenload type of program, but more entertaining, and actually better than screenload. The only restriction is that the default frame better is /dev/fb. It's written by Raymond Kreisel, the author of touchup. So welcome to use the program, i would like to hear from you whether you think it's useful or not. Enjoy! -Min Computer Science Department SUNY at Stony Brook e-mail address : UUCP: {allegra, philabs, pyramid, research}!sbcs!rainbow ARPA-Internet and CSnet: rainbow@sbcs.sunysb.edu