Image.resize Method¶
Module: Image
Definition¶
Resizes the image in-place to the required width and height.
resize(self, width: int, height: int) -> None
Parameters
width
intin The new width, in pixels.height
intin The new height, in pixels.
Exceptions
An error has occurred during Face Library execution.
void resize(int width, int height)
Parameters
width
intin The new width, in pixels.height
intin The new height, in pixels.
Exceptions
An error has occurred during Face Library execution.
public void Resize(int width, int height)
Parameters
width
intin The new width, in pixels.height
intin The new height, in pixels.
Exceptions
An error has occurred during Face Library execution.
public void resize(int width, int height) throws FaceException
Parameters
width
intin The new width, in pixels.height
intin The new height, in pixels.
Exceptions
An error has occurred during Face Library execution.
public func resize(width: Int32, height: Int32) throws
Parameters
width
Int32in The new width, in pixels.height
Int32in The new height, in pixels.
Exceptions
An error has occurred during Face Library execution.
int id3FaceImage_Resize (
ID3_FACE_IMAGE hImage,
int width,
int height)
Parameters
hImage
ID3_FACE_IMAGEin Handle to the Image object.width
intin The new width, in pixels.height
intin The new height, in pixels.
Returns