Image

more basic c question

is it possible to fake out a FILE*? I've got my program saving PNGs every frame, which is a cool intermediary step, but ... that doesn't work too well with the next step which is saving a long MNG.

For libpng, I need to pass it a FILE* ... but I would rather just give it some randomly large chunk of memory so that I could THEN pass that chunk of memory into libmng for each frame, which THEN gets written out to a file.

Anyone? =)