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

# GrayPictureFormatsEnum

GrayPictureFormatsEnum enumeration constants define the image formats or compression algorithms to be used when saving gray images.

```
typedef enum {
 GPF_Jpeg = 0x00000001,
 GPF_Zip  = 0x00000002,
 GPF_LZW  = 0x00000004,
 GPF_J2K  = 0x00000008,
 GPF_Png  = 0x00000010,
 GPF_Auto = 0x00000020
} GrayPictureFormatsEnum;
```

## Elements

| Name        | Description                                                                                                                                                 |
| ----------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
| GPF\\\_Auto | The format is determined automatically depending on the output file format and settings.                                                                    |
| GPF\\\_J2K  | Gray JPEG 2000 format. <br /><br /> **Note:** *The value is not available for PDF/A-1, RTF, DOCX, ODT, HTML, PPTX, FB2 and EPUB formats.*                   |
| GPF\\\_Jpeg | Gray JPEG format.                                                                                                                                           |
| GPF\\\_LZW  | LZW compression algorithm for gray images. <br /><br /> **Note:** *The value is not available for PDF/A, RTF, DOCX, ODT, HTML, PPTX, FB2 and EPUB formats.* |
| GPF\\\_Png  | Gray PNG format. <br /><br /> **Note:** *The value is not available for PDF, PDF/A formats.*                                                                |
| GPF\\\_Zip  | ZIP compression algorithm for gray images. <br /><br /> **Note:** *The value is not available for RTF, DOCX, ODT, HTML, PPTX, FB2 and EPUB formats.*        |

## Used in

[IPDFPictureCompressionParams::GrayPictureFormats](/fine-reader/engine/api-reference/parameter-objects/export-parameters/pdfpicturecompressionparams#graypictureformats)

[IPictureExportParams::GrayPictureFormats](/fine-reader/engine/api-reference/parameter-objects/export-parameters/pictureexportparams#graypictureformats)
