GetPosterFrame
|
GetPosterFrame Method |
Description
Get the poster frame, it will skip the black frame with specific minimum Brightness.
Syntax
Public Function GetPosterFrame ( _ |
Parameters
strVideoFile
the path of video file
iStart
capture poster frame in seconds
iMinBrightness
the value of minimum brightness. default is 90. If color value is less than iMinBrightness then it is considered black. You should set this value between 10 to 100.
strOutputImage
It support output bmp, jpg, png, tif, gif. If the strOutputImage have .bmp extension . It will output bmp file.
Return Value
Return true - successful
Return false - Failed
Example
[Visual Basic Syntax] |