Go to: Contents |
Native Library API Reference |
Functions
FineLoadImageFromFile Function
This function loads an image from a file.
C Syntax
TFineErrorCode FineLoadImageFromFile(
CFineImageFile* imageFile,
TFineImageLoadingOptions imageLoadingOptions,
const RECT* cropRect,
CFineImage** imageBuff
);
Parameters
- imageFile
- [in] A pointer to the CFineImageFile object for loading
an image from a file.
- imageLoadingOptions
- [in] The OR combination of the
TFineImageLoadingOptionsFlags
constants
which define the image loading parameters.
- cropRect
- [in] A pointer to a rectangle which defines the image crop. If it is zero, the image is loaded
without crop.
- imageBuff
- [out] A pointer to pointer variable that receives the interface pointer to
a CFineImage variable which
stores the loaded image. This pointer must be released afterwards with the help of the
FineFreeMemory function.
Return value
The function returns the standard return values of ABBYY Mobile OCR Engine functions.
See also
FineFreeMemory