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 int
in The new width, in pixels.

height int
in The new height, in pixels.

dst_capture_image CaptureImage
in 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 int
in The new width, in pixels.

height int
in The new height, in pixels.

dstCaptureImage CaptureImage
in 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 int
in The new width, in pixels.

height int
in The new height, in pixels.

dstCaptureImage CaptureImage
in 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 int
in The new width, in pixels.

height int
in The new height, in pixels.

dstCaptureImage CaptureImage
in 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

in Handle to the CaptureImage object.

width int
in The new width, in pixels.

height int
in The new height, in pixels.

hDstCaptureImage ID3_DEVICES_CAPTURE_IMAGE
in The destination image that receives the resized image.

Returns

int
An error code.
See id3DevicesError file for the list of possible error codes.