ImageRef operations | Linux Document Scanner
ImageRef is an object that represents an image with managed native resources.
It can be created from various sources such as file paths, memory buffers, or streams. This is the standard way to pass images to scanners and processors within the SDK.
Below are common in-place image processing flows using ImageRef.
Save
- Python
- Java
- NodeJS
save image
loading...
save image
loading...
save image
loading...
Rotate
- Python
- Java
- NodeJS
rotate 90
loading...
rotate 90
loading...
rotate 90
loading...
Resize
Resize the image so that the longer side equals maxSize while maintaining aspect ratio.
- Python
- Java
- NodeJS
resize
loading...
resize
loading...
resize
loading...
Get in touch
If you need further information or are interested in licensing the Scanbot SDK, please get in touch with our solution experts.