Go to: Contents |
Native Library API Reference |
Functions
FineLoadImageFromInputStream Function
This function loads an image from the input stream.
C Syntax
TFineErrorCode FineLoadImageFromInputStream(
CFineImageInputStream* imageInputStream,
TFineImageLoadingOptions imageLoadingOptions,
const RECT* cropRect,
CFineImage** imageBuff
);
Parameters
- imageInputStream
- [in] A pointer to the
CFineImageInputStream object for loading data from the input stream.
- imageLoadingOptions
- [in] OR combination of the
TFineImageLoadingOptionsFlags
constants
which define the image loading parameters.
- cropRect
- [in] A pointer to a rectangle to 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