OCR_IMG_Scale Struct Reference

Rescale image - Upscale or downscale image resolution. Use in C++ -compatible API. More...

#include <C:/Users/figor/programming/project/aspose.ocr-for-cpp/doc_gen/aspose_ocr.h>

Inherits filter_operation.

Public Member Functions

 OCR_IMG_Scale (double ratio)
 

Additional Inherited Members

- Public Attributes inherited from filter_operation
preprocessing_filters_choice process_name
 
double angle
 
double ratio
 
int threshold_max_value
 
int new_width
 
int new_height
 

Detailed Description

Rescale image - Upscale or downscale image resolution. Use in C++ -compatible API.

Parameters
ratioThe scaling factor.

Recommended from 0.1 to 1 to shrink. From 1 to 10 to enlarge.

Constructor & Destructor Documentation

◆ OCR_IMG_Scale()

OCR_IMG_Scale::OCR_IMG_Scale ( double  ratio)
inline