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
intin The new width, in pixels.height
intin The new height, in pixels.dst_image
Imagein 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
intin The new width, in pixels.height
intin The new height, in pixels.dstImage
Imagein 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
intin The new width, in pixels.height
intin The new height, in pixels.dstImage
Imagein 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
intin The new width, in pixels.height
intin The new height, in pixels.dstImage
Imagein 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
Int32in The new width, in pixels.height
Int32in The new height, in pixels.dstImage
Imagein 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
hImage
ID3_FACE_IMAGEin Handle to the Image object.width
intin The new width, in pixels.height
intin The new height, in pixels.hDstImage
ID3_FACE_IMAGEin The destination image that receives the resized image.
Returns