| XFramePictureResizeCapture Method (XFramePicture, Int32, Int32, Boolean) |
비디오 프레임의 크기를 변경하여 그린 프레임 갈무리 버퍼를 얻는다. 바로 활용할 수 있도록 RGB, YUV 형식을 갈무리한다.
Namespace:
Pixoneer.NXDL.NXVideo
Assembly:
NXVideo (in NXVideo.dll) Version: 1.2.817.72
Syntax public static XFrameCaptureBuffer ResizeCapture(
XFramePicture frame,
int width,
int height,
bool zoomFit
)
Parameters
- frame
- Type: Pixoneer.NXDL.NXVideoXFramePicture
원본 비디오 프레임. - width
- Type: SystemInt32
새 프레임 가로 크기. - height
- Type: SystemInt32
새 프레임 세로 크기. - zoomFit
- Type: SystemBoolean
참인 경우 전체 영상이 들어가는 적정 비율로 변경한다. 거짓인 경우 새 프레임 가득 영상이 그려지도록 영상의 가로 또는 세로 한쪽에 맞춘다.
Return Value
Type:
XFrameCaptureBuffer 새로운 크기의 비디오 프레임이 그려진 갈무리 버퍼. 반환하는 프레임 갈무리 버퍼는 쓰레드 안전성이 보장되지 않는다.
See Also