[comp.sys.amiga.programmer] Need IFF loader

spworley@athena.mit.edu (Spaceman Spiff) (01/22/91)

I'm writing an image processing program which I want to work with
24 bit IFF files. I am looking for code that reads in 24 bit files-
I don't need dithering or display code, just (ideally) a routine like

load_iff24 (name,info,red,grn,blu);

where name is the IFF file name, info is a structure containing
width, height, and any other data, and red, grn, blu are pointers
to arrays containing the seperate 8 bit data. It'd be great if it
would load normal IFF and seperated them as well, though this isn't
as important.

If anyone has code (or pointers to some!) I'd be very appreciative!

Thanks! 


-Steve

------------------------------------------------------------------------------
Steve Worley                                           spworley@athena.mit.edu
------------------------------------------------------------------------------