Unnatural20 - again - he wants to do it in runtime - no programs, no extra steps - load the file up and C2 should analyse it and make an optimal version. Which, to be honest, is beyond what C2 can do (at least natively). You can split sprite strips and such using plugins like Paster, but I don't think anything has the ability to load GIFs frame by frame. Even if something did you would have to guess or limit the amount of frames, etc.
Best bet is a custom plugin, but that's some crazy work.
Overall it sounds like JethroNull is trying to make an app using C2, which isn't a bad idea, but perhaps a hard one for this task.