Crops out the given rectangle from the image.
The image to crop.
The rectangle in normalized coordinates to crop.
Optional consumeImage: Config.ConsumeTypeControls if the image can still be used after calling this method, or if it will be consumed by the method. See ConsumeType for more details.
Cropped image.
Flips the given image horizontally or vertically.
The image to flip
Location of the image origin in the image coordinate system.
Optional consumeImage: Config.ConsumeTypeControls if the image can still be used after calling this method, or if it will be consumed by the method. See ConsumeType for more details.
The result of the filter application.
Resizes the given image to the given size.
The image to resize
Size of the longer side of the image.
Optional consumeImage: Config.ConsumeTypeControls if the image can still be used after calling this method, or if it will be consumed by the method. See ConsumeType for more details.
Resized image.
Rotates the given image by the given angle.
The image to rotate
Rotation to be applied
Optional consumeImage: Config.ConsumeTypeControls if the image can still be used after calling this method, or if it will be consumed by the method. See ConsumeType for more details.
Rotated image.
Static createGenerated using TypeDoc
API for image processing. If applicable on the platform, all the methods return images with the same liveness flag as the input image.