VideoFrameReader.SetFrameSize Method
Definition
- Namespace
- GleamTech.VideoUltimate
- Assembly
- GleamTech.VideoUltimate.dll
SetFrameSize(int, int)
Set the frame size to be used for GleamTech.Drawing.Image instances returned by GetFrame(). This method can be called if a different frame size is required than the original video frame size.
public void SetFrameSize(int width, int height)
Parameters
SetFrameSize(int)
Set the frame size to be used for GleamTech.Drawing.Image instances returned by GetFrame(). This method can be called if a different frame size is required than the original video frame size.
public void SetFrameSize(int maxSize)
Parameters
maxSizeintThe maximum width or height of the frame, aspect ratio is preserved. If width is bigger than height, than the value would be maximum width else it would be maximum height. If value is 0, original width and height will be used.