CompuServe Messages

Help! ILBM Loader!

    28-Jan-92 09:03:32
Sb: Help! ILBM Loader!
Fm: Steve Jackson Games 73407,515
To: All
When last seen, our intrepid programming crew had just learned of the myriad complexities of prototyping functions. This hurdle conquered, they leapt on into . . . the ILBM zone. Now that I can munge a window with DumpPixel, I have the problem of getting what I want *into* the window. For my test programs, I've simply been running MYDATA on the image and compiling in the Image data. Needless to say, this won't work on a general purpose basis. I tried the Dissedent's ILBM library (using LoadIFFToWindow()), and it loads the image into the window, then crashes the machine. Besides, I'd feel more comfortable with source code. Query: Does anyone have any C code that loads an IFF picture file (no HAM and no 24-bit; my application only uses 16 color pictures) to a pre-setup window? Thanks! (Failing source, good pseudocode would be a boon.) Loyd