> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ImageLoadingParams Object (IImageLoadingParams Interface)

This object contains different attributes specifying how an image will be prepared for recognition. Images can be prepared when adding to a [batch](https://docs.abbyy.com/flexi-capture/sdk/api-reference/batch.md). The following transformations can be performed upon the prepared image with the help of the **ImageLoadingParams** object: rotation, mirroring the image, cleaning up noise, resolution correction, skew correction, etc.

## Properties

<table width="100%"><thead><tr><th>**Name**</th><th>**Type**</th><th>**Description**</th></tr></thead><tbody><tr><td>**AutocorrectResolution**</td><td>[**Boolean**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md)</td><td>Specifies if the resolution of the image we are loading should be automatically corrected.The default value of this property is TRUE.</td></tr><tr><td>**CorrectSkewByBlackSeparators**</td><td>[**Boolean**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md)</td><td>Specifies if the image skew angle is to be corrected based on black separators. Black separator is either a horizontal or a vertical black line on image.The default value of this property is TRUE.</td></tr><tr><td>**CorrectSkewByBlackSquares**</td><td>[**Boolean**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md)</td><td>Specifies if the image skew angle is to be corrected based on so-called "black squares". Black squares are often placed on forms. It is recommended to set this property to TRUE only when working with images of forms, otherwise you may obtain incorrect results.The default value of this property is TRUE.</td></tr><tr><td>**CorrectSkewByText**</td><td>[**Boolean**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md)</td><td>Specifies if the image skew angle is to be corrected based on text lines.The default value of this property is TRUE.</td></tr><tr><td>**DiscardImageColor**</td><td>[**Boolean**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md)</td><td>Specifies whether color and gray images should be converted to black and white.The default value of this property is FALSE.</td></tr><tr><td>**ImageRotation**</td><td>[**RotationTypeEnum**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/rotationtypeenum.md)</td><td>Specifies the rotation type to be applied to an image during loading.By default the value of this property is RT\_NoRotation.</td></tr><tr><td>**InvertImage**</td><td>[**Boolean**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md)</td><td>Specifies if image colors should be inverted.The default value of this property is FALSE.</td></tr><tr><td>**MirrorImage**</td><td>[**Boolean**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md)</td><td>Specifies if an image should be mirrored.The default value of this property is FALSE.</td></tr><tr><td>**OfficeConverterSettings**</td><td>[**OfficeConverterSettings**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/officeconvertersettings.md), [read-only](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/properties.md#readonly-properties)</td><td>Gets office converter settings. These settings are used to import digital documents of various formats using the same methods which open the input images.</td></tr><tr><td>**OverwriteResolution**</td><td>[**Boolean**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md)</td><td>Allows you to overwrite resolution of the prepared image.\
The property is used in cases when automatic resolution obtained by the [**AutocorrectResolution**](#autocorrectresolution) property does not give an acceptable result.\
The resolution is overwritten depending on the values of the **XResolutionToOverwrite** and** YResolutionToOverwrite** properties. In this case the new resolution will be used for image preprocessing (i.e. for binarization, deskewing, etc.). See also [**IImageDocument::ChangeResolution**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imagedocument-changeresolution.md).**Note:** To specify the image resolution for export, use the [**Resolution**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageexportparams.md#resolution) property of the [**ImageExportParams**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageexportparams.md) object.By default, this property is set to FALSE.</td></tr><tr><td>**ReduceISONoise**</td><td>[**Boolean**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md)</td><td>Specifies if noise in high-ISO images should be reduced.By default, this property is set to FALSE.</td></tr><tr><td>**RemoveColorMarks**</td><td>[**Boolean**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md)</td><td>Specifies if the color marks, such as stamps or signatures made with colored ink, should be removed from the image.By default, this property is set to FALSE.</td></tr><tr><td>**RemoveGarbage**</td><td>[**Boolean**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md)</td><td>Specifies if small garbage (excess dots that are smaller than a certain size) should be removed from a loading image.By default, this property is set to FALSE.</td></tr><tr><td>**SourceContentReuseMode**</td><td>[**SourceContentReuseModeEnum**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/sourcecontentreusemodeenum.md)</td><td>Specifies the mode of source PDF file contents reusing.By default, this property is set to CRM\_Auto.</td></tr><tr><td>**TreatImageAsPhoto**</td><td>[**Boolean**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md)</td><td>Specifies whether the processing image should be treated as a photo.By default, this property is set to FALSE.</td></tr><tr><td>**UseAutocrop**</td><td>[**Boolean**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md)</td><td>Specifies if the image should be automatically cropped. If this property is set to TRUE:<ul><li>image boundaries will be found</li><li>the area that contains data for extraction will be cropped</li><li>skews and distortions will be corrected.</li></ul>By default, this property is set to FALSE.</td></tr><tr><td>**UseImageEnhancementProfile**</td><td>[**Boolean**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md)</td><td>Specifies if an image enhancement profile should be used for image preprocessing.By default, this property is set to FALSE.</td></tr><tr><td>**UseSpecialProfileForPhoto**</td><td>[**Boolean**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md)</td><td>Specifies if an image enhancement profile tuned for photo preprocessing should be used.By default, this property is set to FALSE.</td></tr><tr><td>**WhitenBackground**</td><td>[**Boolean**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md)</td><td>Specifies if the background of the image should be whitened.By default, this property is set to FALSE.</td></tr><tr><td>**XResolutionToOverwrite**</td><td>[**Integer**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md)</td><td>Specifies the horizontal resolution of the original image in dpi. This value is used to overwrite resolution of the prepared image when resolution of the original image is not specified or incorrect and only if the **OverwriteResolution** property is TRUE. ABBYY FlexiCapture SDK works with the prepared image which horizontal and vertical resolutions are equal, therefore the program stretches the image so that the horizontal and vertical resolutions of the prepared image are identical and equal to the maximum of **XResolutionToOverwrite** and **YResolutionToOverwrite**.By default, this property is set to 300.</td></tr><tr><td>**YResolutionToOverwrite**</td><td>[**Integer**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md)</td><td>Specifies the vertical resolution of the original image in dpi. This value is used to overwrite resolution of the prepared image when resolution of the original image is not specified or incorrect and only if the **OverwriteResolution** property is TRUE. ABBYY FlexiCapture SDK works with the prepared image which horizontal and vertical resolutions are equal, therefore the program stretches the image so that the horizontal and vertical resolutions of the prepared image are identical and equal to the maximum of **XResolutionToOverwrite** and **YResolutionToOverwrite**.By default, this property is set to 300.</td></tr></tbody></table>

## Methods

| **Name** | **Description** |
| - | - |
| [**CopyFrom**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/copyfrom.md) | Initializes properties of the current object with values of similar properties of another object. |
| [**SetImageEnhancementProfile**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageloadingparams-setimageenhancementprofile.md) | Applies the specified profile for image enhancement to the image. |
| [**SetSpecialProfileForPhoto**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageloadingparams-setspecialprofileforphoto.md) | Applies to the image a predefined image enhancement profile tuned for photos preprocessing. |

## Related objects

![](https://mintcdn.com/abbyy/DG4YBah30S0eFFo5/images/flexi-capture/sdk/ImageLoadingParams.gif?s=e187b601f9b2feaf2a39df929be9da78)

## Output parameter

This object is the output parameter of the [**CreateImageLoadingParams**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/engine-createxxx.md) method of the [**Engine**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/engine.md) object.

## Input parameter

This object is passed as an input parameter to the [**AddImages**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/batch-addimages.md) method of the [**Batch**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/batch.md) object.

See also\
[**ProjectProperties**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/projectproperties.md)

[**ImageImportParams**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageimportparams.md)

[**ImageGroupingParams**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imagegroupingparams.md)

[Working with Properties](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/properties.md)
