# getImage method

Image? getImage()

Gets the source image.

return Source image. throws FaceException An error has occurred during Face Library execution.

## Implementation

    Image? getImage() {
      Image image = Image();
      var err = faceSDK.id3FacePortrait_GetImage(_pHandle.value, image.handle);
      if (err == FaceError.objectDoesNotExist.value) {
        image.dispose();
        return null;
      }
      if (err != FaceError.success.value) {
        image.dispose();
        throw FaceException(err);
      }
      return image;
    }