Package io.scanbot.sdk.core.processor
Class ImageProcessor
-
- All Implemented Interfaces:
public final class ImageProcessorClass for applying chains of image processing operations.
-
-
Constructor Summary
Constructors Constructor Description ImageProcessor()
-
Method Summary
Modifier and Type Method Description final BooleanapplyFilter(ImageRef container, ParametricFilter filter)Process provided image with list of operations. final Booleancrop(ImageRef container, List<PointF> polygon)Crops image to the given bounding box. final Booleanresize(ImageRef container, Integer maxSize)Resizes image to the given size final Booleanrotate(ImageRef container, ImageRotation rotation)Rotates image by the given degrees which should be multiple of 90 -
-
Method Detail
-
applyFilter
final Boolean applyFilter(ImageRef container, ParametricFilter filter)
Process provided image with list of operations.
- Parameters:
filter- filter to apply
-
crop
final Boolean crop(ImageRef container, List<PointF> polygon)
Crops image to the given bounding box.
-
rotate
final Boolean rotate(ImageRef container, ImageRotation rotation)
Rotates image by the given degrees which should be multiple of 90
-
-
-
-