GetPosterFrameBySize
|
GetPosterFrameBySize Method |
Description
Get the poster frame with specific size, it will skip the black frame with specific minimum Brightness.
Syntax
Public Function GetPosterFrameBySize ( _ |
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.
iImageWidth
the width of output image.
iImageHeight
the height of output image.
Return Value
Return true - successful
Return false - Failed
Example
[Visual Basic Syntax] |