CaptureImage.resizeTo Method¶
Module: CaptureImage
Definition¶
Resizes the image to the specified width and height.
resize_to(self, width: int, height: int, dst_capture_image: CaptureImage) -> None
Parameters
width
intin The new width, in pixels.height
intin The new height, in pixels.dst_capture_image
CaptureImagein The destination image that receives the resized image.
Exceptions
An error has occurred during Devices Library execution.
void resizeTo(int width, int height, CaptureImage dstCaptureImage)
Parameters
width
intin The new width, in pixels.height
intin The new height, in pixels.dstCaptureImage
CaptureImagein The destination image that receives the resized image.
Exceptions
An error has occurred during Devices Library execution.
public void ResizeTo(int width, int height, CaptureImage dstCaptureImage)
Parameters
width
intin The new width, in pixels.height
intin The new height, in pixels.dstCaptureImage
CaptureImagein The destination image that receives the resized image.
Exceptions
An error has occurred during Devices Library execution.
public void resizeTo(int width, int height, CaptureImage dstCaptureImage) throws DevicesException
Parameters
width
intin The new width, in pixels.height
intin The new height, in pixels.dstCaptureImage
CaptureImagein The destination image that receives the resized image.
Exceptions
An error has occurred during Devices Library execution.
int id3DevicesCaptureImage_ResizeTo (
ID3_DEVICES_CAPTURE_IMAGE hCaptureImage,
int width,
int height,
ID3_DEVICES_CAPTURE_IMAGE hDstCaptureImage)
Parameters
hCaptureImage
ID3_DEVICES_CAPTURE_IMAGEin Handle to the CaptureImage object.width
intin The new width, in pixels.height
intin The new height, in pixels.hDstCaptureImage
ID3_DEVICES_CAPTURE_IMAGEin The destination image that receives the resized image.
Returns