This method saves an animated GIF file's frame to a static GIF file.


PlayGif1.SaveFrameToGif ( index As Long, strGifName As String) As Boolean


Parameter Description
index A long value indicates the frame number that will be saved to a gif file
strGifName A string value will be serve as the file name

Return Value

The return values for this sub are:

Value Description
True The frame was saved to gif file successfully
False Failed to save the frame to gif file


Private Sub Command1_Click()
   PlayGif1.LoadGif "c:\test.gif"
   Dim i As Long
   For i = 0 To PlayGif1.GetFrameCount - 1
       PlayGif1.SaveFrameToGif i, "c:\test_" & i & ".gif"
End Sub

Back to Animated Gif Banner Maker

Back to Animated Gif OCX Control

Copyright ? 2002-2003,, All Rights Reserved.

Home - Download - Buy Now - Frequently Asked Questions - Online Help - Animated GIF OCX Control - OCX Help - Links