GetFrameBySize
|
GetFrameBySize Method |
Description
Capture the frame from video file in specific duration and save to specific size of image file.
Syntax
Public Function GetFrameBySize ( _ |
Parameters
strInputFile
the path of video file
iSecond
capture time in seconds
strImageFile
the output image file name
iWidth
the width of bitmap file
iHeight
the height of bitmap file
iOutputFileType
0 - bitmap
1 - JPEG
2 - PNG
3 - TIF
4 - GIF
Return Value
Return true - successful
Return false - Failed
Example
[Visual Basic Syntax] |