Image.resizeTo Method

Module: Image

Definition

Resizes the image to the specified width and height.

resize_to(self, width: int, height: int, dst_image: Image) -> None

Parameters

width int
in The new width, in pixels.

height int
in The new height, in pixels.

dst_image Image
in The destination image that receives the resized image.

Exceptions

An error has occurred during Face Library execution.
void resizeTo(int width, int height, Image dstImage)

Parameters

width int
in The new width, in pixels.

height int
in The new height, in pixels.

dstImage Image
in The destination image that receives the resized image.

Exceptions

An error has occurred during Face Library execution.
public void ResizeTo(int width, int height, Image dstImage)

Parameters

width int
in The new width, in pixels.

height int
in The new height, in pixels.

dstImage Image
in The destination image that receives the resized image.

Exceptions

An error has occurred during Face Library execution.
public void resizeTo(int width, int height, Image dstImage) throws FaceException

Parameters

width int
in The new width, in pixels.

height int
in The new height, in pixels.

dstImage Image
in The destination image that receives the resized image.

Exceptions

An error has occurred during Face Library execution.
public func resizeTo(width: Int32, height: Int32, dstImage: Image) throws

Parameters

width Int32
in The new width, in pixels.

height Int32
in The new height, in pixels.

dstImage Image
in The destination image that receives the resized image.

Exceptions

An error has occurred during Face Library execution.
int id3FaceImage_ResizeTo (
    ID3_FACE_IMAGE hImage,
    int width,
    int height,
    ID3_FACE_IMAGE hDstImage)

Parameters

in Handle to the Image object.

width int
in The new width, in pixels.

height int
in The new height, in pixels.

hDstImage ID3_FACE_IMAGE
in The destination image that receives the resized image.

Returns

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