Scanbot SDK
Loading...
Searching...
No Matches
ScanbotSDKImageManipulator.h
Go to the documentation of this file.
1// Auto-generated with ScanbotSDKCodegenV3. Modifications will be overwritten.
2// Generated from SchemasV3/CoreSchemas/schemas/ImageManipulator.yaml
6
7#pragma once
8#ifndef SCANBOTSDK_IMAGEMANIPULATOR_H
9#define SCANBOTSDK_IMAGEMANIPULATOR_H
10
11
12#include <ScanbotSDKImage.h>
13#include <ScanbotSDKTypes.h>
15#include <stdbool.h>
16#include <stddef.h>
17#include <stdint.h>
18#include <ScanbotSDKErrorCode.h>
19#include <ScanbotSDKDefs.h>
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
25
32
43);
44
53);
54
69 scanbotsdk_image_t* image,
71 scanbotsdk_image_t** result
72);
73
88 scanbotsdk_image_t* image,
90 scanbotsdk_image_t** result
91);
92
107 scanbotsdk_image_t* image,
109 scanbotsdk_image_t** result
110);
111
126 scanbotsdk_image_t* image,
127 int size,
128 scanbotsdk_image_t** result
129);
130
131
132#ifdef __cplusplus
133} /* extern "C" */
134#endif
135
136#endif /* SCANBOTSDK_IMAGEMANIPULATOR_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