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
widthintin The new width, in pixels.heightintin The new height, in pixels.dst_imageImagein 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
widthintin The new width, in pixels.heightintin The new height, in pixels.dstImageImagein 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
widthintin The new width, in pixels.heightintin The new height, in pixels.dstImageImagein 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
widthintin The new width, in pixels.heightintin The new height, in pixels.dstImageImagein 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
widthInt32in The new width, in pixels.heightInt32in The new height, in pixels.dstImageImagein 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
hImageID3_FACE_IMAGEin Handle to the Image object.widthintin The new width, in pixels.heightintin The new height, in pixels.hDstImageID3_FACE_IMAGEin The destination image that receives the resized image.
Returns