resize method

void resize(
  1. int width,
  2. int height
)

Resizes the image in-place to the required width and height.

param width The new width, in pixels. param height The new height, in pixels. throws FaceException An error has occurred during Face Library execution.

Implementation

void resize(int width, int height) {
  var err = faceSDK.id3FaceImage_Resize(_pHandle.value, width, height);
  if (err != FaceError.success.value) {
    throw FaceException(err);
  }
}