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.

void reallocate(int width, int height, PixelFormat pixelFormat)

Parameters

width int
in The new width, in pixels.

height int
in The new height, in pixels.

pixelFormat PixelFormat
in The new pixel format.

Exceptions

An error has occurred during Face Library execution.