Movie Player ActiveX Control

Snapshot2ImageFile

 

Snapshot to BMP, JPG, GIF, TIF, PNG file from video files.

Public Function Snapshot2ImageFile( _
  ByVal strImageFile As String, _
  ByVal iImageFormat As Integer  
)

 

Parameter
strImageFile
the output file name

iImageFormat
the output image format
0 - BMP
1 - JPG
2 - PNG
3 - TIF
4 - GIF
 

Return Value
True - Success, False- Failed

Example

   

Visual Basic Syntax
MoviePlayer1.FileName ="c:\test.mpg"
MoviePlayer1.Play
MoviePLayer.SnapShot2ImageFile "c:\test.jpg", 1