Skip to main content

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 rotate
  • filter - ImageFilter string value

Returns

Apply Image Filter Result

Image Filter values

Supported image filters:

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

Rotate Image Result

Want to scan longer than one minute?

Generate a free trial license to test the Scanbot SDK thoroughly.

Get your free Trial License

What do you think of this documentation?