CaptureImage.resize Method

Module: CaptureImage

Definition

Resizes the image in-place to the required width and height.

resize(self, width: int, height: int) -> None

Parameters

width int
in The new width, in pixels.

height int
in The new height, in pixels.

Exceptions

An error has occurred during Devices Library execution.
void resize(int width, int height)

Parameters

width int
in The new width, in pixels.

height int
in The new height, in pixels.

Exceptions

An error has occurred during Devices Library execution.
public void Resize(int width, int height)

Parameters

width int
in The new width, in pixels.

height int
in The new height, in pixels.

Exceptions

An error has occurred during Devices Library execution.
public void resize(int width, int height) throws DevicesException

Parameters

width int
in The new width, in pixels.

height int
in The new height, in pixels.

Exceptions

An error has occurred during Devices Library execution.
int id3DevicesCaptureImage_Resize (
    ID3_DEVICES_CAPTURE_IMAGE hCaptureImage,
    int width,
    int height)

Parameters

in Handle to the CaptureImage object.

width int
in The new width, in pixels.

height int
in The new height, in pixels.

Returns

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