[comp.sys.amiga] IFF file read/write

KHALID%PO8600@dupont.com (08/14/89)

I am writing a small image processing system. I normally read pixel
data from work, however they are rather slow to read. Once I have done
my processing I like to save them as IFF files so that I retrieve them
quickly. I have been using ScreeX (screen grabber) for that some time
now and it works fine. However, it would be nice if I could save them
as IFF file from within the program itself. Does anybody have suggestions
on how to write such a routine, (I would really prefer getting C-code
for it but any help would be appreciated).

I have Manx 3.6a (developer version). Incidentally I did try Jim Kent's
routines, but for some reason they dont work for screens size of 640 by
400, also it does not preserve the colors of the screen.

Soofi