Filters and Image Processing
Apply Image Filters
ScanbotSDK.applyImageFilters(imageFileUri: string, filters: ParametricFilter[])
Applies filters to an image. As input, a file URI of the image must be passed. The output image will be a new file. The input image file will not be modified.
Apply Image Filters usage example
Apply Image Filters usage example
loading...
Parameters
imageFileUri
- file URI of the image to rotatefilter
- ImageFilter string value
Returns
Image Filter values
Supported image filters:
- ColorDocumentFilter
- ScanbotBinarizationFilter
- CustomBinarizationFilter
- BrightnessFilter
- ContrastFilter
- GrayscaleFilter
- WhiteBlackPointFilter
- LegacyFilter
Rotate Image
ScanbotSDK.rotateImage(imageFileUri: string, degrees: number)
Rotates an image by given degrees value. As input, a file URI of the image must be passed. The output image will be a new file. The input image file will not be modified.
Rotate Image usage example
Rotate Image by 90 degrees
loading...
Returns
Want to scan longer than one minute?
Generate a free trial license to test the Scanbot SDK thoroughly.
Get your free Trial LicenseWhat do you think of this documentation?
What can we do to improve it? Please be as detailed as you like.