Click or drag to resize
XDL

XFramePictureResizeCapture(XFramePicture, Int32, Int32, Boolean) Method

비디오 프레임의 크기를 변경하여 그린 프레임 갈무리 버퍼를 얻는다. 바로 활용할 수 있도록 RGB, YUV 형식을 갈무리한다.

Namespace: Pixoneer.NXDL.NXVideo
Assembly: NXVideo (in NXVideo.dll) Version: 2.0.3.38
Syntax
C#
public static XFrameCaptureBuffer ResizeCapture(
	XFramePicture frame,
	int width,
	int height,
	bool zoomFit
)

Parameters

frame  XFramePicture
원본 비디오 프레임.
width  Int32
새 프레임 가로 크기.
height  Int32
새 프레임 세로 크기.
zoomFit  Boolean
참인 경우 전체 영상이 들어가는 적정 비율로 변경한다. 거짓인 경우 새 프레임 가득 영상이 그려지도록 영상의 가로 또는 세로 한쪽에 맞춘다.

Return Value

XFrameCaptureBuffer
새로운 크기의 비디오 프레임이 그려진 갈무리 버퍼. 반환하는 프레임 갈무리 버퍼는 쓰레드 안전성이 보장되지 않는다.
See Also