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

# GetPictureFlags

The **GP\_** prefixed flags are used as a mask in some methods of the [**Image**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/image.md) object. The mask is an OR combination of these flags' values and define how the image should be converted in this method.

```cpp theme={null}
module GetPictureFlags
{
  const int GP_ScaleToGray       = 0x00000001;
  const int GP_ReduceToHighColor = 0x00000002;
  const int GP_ReduceToGray      = 0x00000004;
}
```

## Elements

| **Flag name** | **Description** |
| - | - |
| GP\_ScaleToGray | For black-and-white image page and the stretch ratio \<1, as defined by the [**ImageModification**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imagemodification.md) object, a gray bitmap will be created and returned by the method. |
| GP\_ReduceToHighColor | For color image page the presence of this flag reduces the number of its colors to 65536, that corresponds to high color. |
| GP\_ReduceToGray | For color image page a gray bitmap will be created and returned by the method. |

## Used in

[**IImage::EstimateBitmapSize**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/image-estimatebitmapsize.md)

[**IImage::GetPicture**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/image-getpicture.md)
