ABBYY Mobile OCR Engine 4

Go to: Contents | Native Library API Reference | Enumerations

TFineImageLoadingOptionsFlags

TFineImageLoadingOptionsFlags enumeration constants are used to set the input parameter of the FineLoadImageFromFile and FineLoadImageFromInputStream functions. Some of the constants are defined using the BIT_FLAG macros.

typedef enum tagTFineImageLoadingOptionsFlags{
  FILO_Default                      = 0,
  FILO_ApplyExifOrientation         = BIT_FLAG( 0 ),
  FILO_CropUsingRelativeCoordinates = BIT_FLAG( 1 )
} TFineImageLoadingOptionsFlags;

Flag

Name Description
FILO_Default Specifies that an image is loaded as is, ignoring any metadata, and the crop rectangle coordinates are in pixels.
FILO_ApplyExifOrientation Specifies that the EXIF orientation information is applied to the image.
FILO_CropUsingRelativeCoordinates Specifies that the crop rectangle coordinates are in the ten thousandth of the original image size.

See also

FineLoadImageFromFile
FineLoadImageFromInputStream