[comp.sys.amiga.tech] RGB Rendering

aw0i+@andrew.cmu.edu (Andrew Jordan Werth) (12/05/89)

I am interested in rendering an image file which is stored as a stream of
3 bytes per pixel (R, G, B).  I would like to use the Amiga's HAM mode


Each byte is a color value from 0 to 255.

I haven't written programs for HAM mode so I am unfamiliar with how to
implement the renderer.  Can anyone point me to some good, easy to access
code for putting an image into a 4096-color screen?  I'm aware that I'll
lose quite a bit of the color info, but that's not really important.

Much thanks!

Andrew Werth
aw0i@andrew.cmu.edu