The FrameCount property returns the number of frames in the GIF and you can get each one as a bitmap with the Frame(index) method.
' Load a Gif and get the last frame
GifDecoderName.New1
GifDecoderName.Load(AppPath & "\SomeGifName.gif")
Image1.Value = GifDecoderName.Frame(GifDecoderName.FrameCount - 1)
__________________
Sorry, but I don't answer questions by PM or email.
Please post your queries in the forum.
|