views:

179

answers:

1

Is it possible, without an external code library, to separate a .gif file into its individual frames, and conversely, to assemble a group of images into one?

I have spent a while playing with the System.Drawing namespace, and cannot seem to figure out how.

Also, I cannot figure out what to pass as a parameter for GetFrameCount. I do not know what they mean by a "dimension", and apparently it cannot be left null.

Additionally, is it possible to have playback control over the gif without first splitting it and recompiling/displaying in a way that mimics playback?

Thanks for the help.

This is in vb.net, 2008.

EDIT: If it is not possible without an external library, what is the best one to use?

A: 

According to this forum post saving the animated GIF is not supported in .NET. So no, without an external code library, it's likely not possible.

Any particular reason you're averse to external libs?

Jed Smith
This *would* have been for a commercial project, so I would like to avoid using external libraries as much as possible.
Cyclone
But i guess I could just make this open source, if it is impossible without a lib.
Cyclone
Many open source libraries these days allow for use in a commercial software product.
Eric J.
Okay...can you please find me one which would allow me to use it commercially for this purpose? Thanks for the help!
Cyclone