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

**GP\_** プレフィックスが付いたフラグは、[**Image**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/image.md) オブジェクトの一部のメソッドでマスクとして使用されます。マスクはこれらのフラグの値を OR で組み合わせたもので、該当するメソッドで画像をどのように変換するかを指定します。

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

## 要素

| **フラグ名** | **説明** |
| - | - |
| GP\_ScaleToGray | black-and-white の画像ページで、[**ImageModification**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imagemodification.md) オブジェクトで定義された伸長比率が \<1 の場合、メソッドはグレーのビットマップを作成して返します。 |
| GP\_ReduceToHighColor | カラーの画像ページの場合、このフラグを指定すると、色数がハイカラーに相当する 65536 色に削減されます。 |
| GP\_ReduceToGray | カラーの画像ページの場合、メソッドはグレーのビットマップを作成して返します。 |

## 使用箇所

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

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