Image.reallocate Method¶
Module: Image
Definition¶
Reallocates the internal memory of the Image from parameters.
Note
If the given parameters are the same as the ones of the object, then there is nothing done in this function.
reallocate(self, width: int, height: int, pixel_format: PixelFormat) -> None
Parameters
widthintin The new width, in pixels.heightintin The new height, in pixels.pixel_formatPixelFormatin The new pixel format.
Exceptions
An error has occurred during Face Library execution.
void reallocate(int width, int height, PixelFormat pixelFormat)
Parameters
widthintin The new width, in pixels.heightintin The new height, in pixels.pixelFormatPixelFormatin The new pixel format.
Exceptions
An error has occurred during Face Library execution.
public void Reallocate(int width, int height, PixelFormat pixelFormat)
Parameters
widthintin The new width, in pixels.heightintin The new height, in pixels.pixelFormatPixelFormatin The new pixel format.
Exceptions
An error has occurred during Face Library execution.
public void reallocate(int width, int height, PixelFormat pixelFormat) throws FaceException
Parameters
widthintin The new width, in pixels.heightintin The new height, in pixels.pixelFormatPixelFormatin The new pixel format.
Exceptions
An error has occurred during Face Library execution.
public func reallocate(width: Int32, height: Int32, pixelFormat: PixelFormat) throws
Parameters
widthInt32in The new width, in pixels.heightInt32in The new height, in pixels.pixelFormatPixelFormatin The new pixel format.
Exceptions
An error has occurred during Face Library execution.
int id3FaceImage_Reallocate (
ID3_FACE_IMAGE hImage,
int width,
int height,
id3FacePixelFormat ePixelFormat)
Parameters
hImageID3_FACE_IMAGEin Handle to the Image object.widthintin The new width, in pixels.heightintin The new height, in pixels.ePixelFormatid3FacePixelFormatin The new pixel format.
Returns