8#ifndef SCANBOTSDK_IMAGEMANIPULATOR_H
9#define SCANBOTSDK_IMAGEMANIPULATOR_H
19#include <ScanbotSDKDefs.h>
ScanbotSDK Error Code C API.
scanbotsdk_error_code_t
The error codes returned by most of the Scanbot SDK functions.
Definition ScanbotSDKErrorCode.h:25
ScanbotSDK Image Ref C API.
The Scanbot SDK C API primitive types.
Represents a rectangle with floating point coordinates.
Definition ScanbotSDKTypes.h:71
SBSDK_API scanbotsdk_error_code_t scanbotsdk_image_manipulator_rotate(scanbotsdk_image_manipulator_t *self, scanbotsdk_image_t *image, scanbotsdk_image_rotation_t rotation, scanbotsdk_image_t **result)
Rotates the given image by the given angle.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_image_manipulator_flip(scanbotsdk_image_manipulator_t *self, scanbotsdk_image_t *image, scanbotsdk_image_origin_t origin, scanbotsdk_image_t **result)
Flips the given image horizontally or vertically.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_image_manipulator_free(scanbotsdk_image_manipulator_t *self)
Frees the memory allocated for the instance of scanbotsdk_image_manipulator_t. If null is passed,...
struct scanbotsdk_image_manipulator_t scanbotsdk_image_manipulator_t
scanbotsdk_image_manipulator_t class
Definition ScanbotSDKImageManipulator.h:31
SBSDK_API scanbotsdk_error_code_t scanbotsdk_image_manipulator_create(scanbotsdk_image_manipulator_t **result)
Creates a new instance of scanbotsdk_image_manipulator with given params and stores it in the locatio...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_image_manipulator_crop_rect(scanbotsdk_image_manipulator_t *self, scanbotsdk_image_t *image, scanbotsdk_rectf_t rect, scanbotsdk_image_t **result)
Crops out the given rectangle from the image.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_image_manipulator_resize(scanbotsdk_image_manipulator_t *self, scanbotsdk_image_t *image, int size, scanbotsdk_image_t **result)
Resizes the given image to the given size.
scanbotsdk_image_origin_t
scanbotsdk_image_origin_t enum
Definition ScanbotSDKImageTypes.h:59
scanbotsdk_image_rotation_t
scanbotsdk_image_rotation_t enum
Definition ScanbotSDKImageTypes.h:28
struct scanbotsdk_image_t scanbotsdk_image_t
Represents an instance of the opaque image.
Definition ScanbotSDKImage.h:31