> ## 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.

# Image Object (IImage Interface)

This object represents a single "image plane" ([black-and-white](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imagedocument.md#black-and-white), [color](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imagedocument.md#color) or [preview](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imagedocument.md#preview)) of an open image. It gives a user access to properties of this "image plane", such as its geometrical parameters and resolution. It allows you to get a bitmap handle corresponding to this image.

## Properties

| **Name** | **Type** | **Description** |
| - | - | - |
| **ImageColorType** | [**ImageColorTypeEnum**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imagecolortypeenum.md), read-only | Specifies the color type for the current image plane (black-and-white, gray, color). **Note:** If the [**ImageDocument**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imagedocument.md) object represents black-and-white image, an image plane received from [**IImageDocument::ColorImage**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imagedocument.md#colorimage) property will actually be of black-and-white color type. This property provides information about actual color type of the current image plane. |
| **ImageDocument** | [**ImageDocument**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imagedocument.md), [read-only](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/properties.md#readonly-properties) | This property refers to the parent **ImageDocument** object of the current image plane. For an independent **Image** object, this property returns NULL. |
| **Height** | [**Integer**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md), read-only | Stores the height of the current image plane in pixels. The height of the black-and-white image plane of an image is equal to the height of the color image plane of the image. |
| **Resolution** | [**Integer**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md), read-only | Stores the resolution of the current image plane in pixels per inch. The resolution of the black-and-white image plane of an image is equal to the resolution of the color image plane of the image. |
| **Width** | [**Integer**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md), read-only | Stores the width of the current image plane in pixels. The width of the black-and-white image plane of an image is equal to the width of the color image plane of the image. |
| **XResolution** | [**Integer**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md), read-only | Stores the horizontal resolution of the current image plane in pixels per inch. The resolution of the black-and-white image plane of an image is equal to the resolution of the color image plane of the image. |
| **YResolution** | [**Integer**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md), read-only | Stores the vertical resolution of the current image plane in pixels per inch. The resolution of the black-and-white image plane of an image is equal to the resolution of the color image plane of the image. |

## Methods

| **Name** | **Description** |
| - | - |
| [**EstimateBitmapSize**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/image-estimatebitmapsize.md) | Estimates the size of the bitmap that will be returned by the **GetPicture** method. |
| [**GetPicture**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/image-getpicture.md) | Returns a handle of bitmap that corresponds to the current image plane. |
| [**WriteToFile**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/image-writetofile.md) | Writes the image of the current image plane into an image file. |

## Related objects

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

## Output parameter

This object is the output parameter of the following methods:

* [**Binarize**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageprocessingtools-binarize.md), [**BitmapToImage**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageprocessingtools-bitmaptoimage.md), [**ConvertToGray**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageprocessingtools-converttogray.md), [**CorrectImageGeometry**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageprocessingtools-correctimagegeometry.md), [**CropImage**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageprocessingtools-cropimage.md), [**EqualizeBrightness**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageprocessingtools-equalizebrightness.md), [**FillRegionWithColor**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageprocessingtools-fillregionwithcolor.md), [**FilterColor**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageprocessingtools-filtercolor.md), [**InvertRegion**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageprocessingtools-invertregion.md), [**MirrorImage**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageprocessingtools-mirrorimage.md), [**PreprocessCameraImage**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageprocessingtools-preprocesscameraimage.md), [**RemoveGarbage**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageprocessingtools-removegarbage.md), [**RemoveMotionBlur**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageprocessingtools-removemotionblur.md), [**RotateImage**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageprocessingtools-rotateimage.md), [**RotateImageByRotationType**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageprocessingtools-rotateimagebyrotationtype.md), [**SmoothImageByGaussianKernel**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageprocessingtools-smoothimagebygaussiankernel.md), [**SmoothImageBySquareAverage**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageprocessingtools-smoothimagebysquareaverage.md), [**SmoothTexture**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageprocessingtools-smoothtexture.md), [**StretchImage**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageprocessingtools-stretchimage.md), [**StretchTrapezoidToRectangle**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageprocessingtools-stretchtrapezoidtorectangle.md), [**SuppressColorObjects**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageprocessingtools-suppresscolorobjects.md) methods of the [**ImageProcessingTools**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageprocessingtools.md) object
* [**OpenImagePage**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imagefile-openimagepage.md) method of the [**ImageFile**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imagefile.md) object

## Input parameter

This object is the input parameter of the following methods:

* [**Binarize**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageprocessingtools-binarize.md), [**ConvertToGray**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageprocessingtools-converttogray.md), [**CorrectImageGeometry**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageprocessingtools-correctimagegeometry.md), [**CreateDenoiseFilterParamsByImage**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageprocessingtools-createdenoisefilterparamsbyimage.md), [**CropImage**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageprocessingtools-cropimage.md), [**DetectEmpty**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageprocessingtools-detectempty.md), [**DetectOrientationByText**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageprocessingtools-detectorientationbytext.md), [**EqualizeBrightness**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageprocessingtools-equalizebrightness.md), [**FillRegionWithColor**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageprocessingtools-fillregionwithcolor.md), [**FilterColor**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageprocessingtools-filtercolor.md), [**ImageToBitmap**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageprocessingtools-imagetobitmap.md), [**InvertRegion**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageprocessingtools-invertregion.md), [**MirrorImage**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageprocessingtools-mirrorimage.md), [**PreprocessCameraImage**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageprocessingtools-preprocesscameraimage.md), [**RemoveGarbage**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageprocessingtools-removegarbage.md), [**RemoveMotionBlur**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageprocessingtools-removemotionblur.md), [**RotateImage**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageprocessingtools-rotateimage.md), [**RotateImageByRotationType**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageprocessingtools-rotateimagebyrotationtype.md), [**SmoothImageBySquareAverage**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageprocessingtools-smoothimagebysquareaverage.md), [**SuppressColorObjects**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageprocessingtools-suppresscolorobjects.md), [**SmoothImageByGaussianKernel**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageprocessingtools-smoothimagebygaussiankernel.md), [**SmoothTexture**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageprocessingtools-smoothtexture.md), [**StretchImage**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageprocessingtools-stretchimage.md), [**StretchTrapezoidToRectangle**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageprocessingtools-stretchtrapezoidtorectangle.md) methods of the [**ImageProcessingTools**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageprocessingtools.md) object

## See also

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

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