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

# ImageCompressionTypeEnum

**ImageCompressionTypeEnum** enumeration constants are used to set the image compression type.

```cpp theme={null}
typedef enum {
 ICT_ABBYYLossless,
 ICT_Lzw,
 ICT_Jpeg,
 ICT_PackBits,
 ICT_Png,
 ICT_Uncompressed,
 ICT_Zip,
 ICT_CcittGroup4,
 ICT_Default
} ImageCompressionTypeEnum;
```

## Elements

| **Name** | **Description** |
| - | - |
| ICT\_ABBYYLossless | Lossless compression. This compression type provides a medium image file size and the quality of the original image. |
| ICT\_Lzw | LZW compression. |
| ICT\_Jpeg | JPEG compression. |
| ICT\_PackBits | PackBits compression. |
| ICT\_Png | PNG compression. |
| ICT\_Uncompressed | Uncompressed. |
| ICT\_Zip | ZIP compression. |
| ICT\_CcittGroup4 | CCITT4 compression. |
| ICT\_Default | Sets the compression type automatically corresponding to the selected file format. |

## Used in

[**IImageExportParams::CompressionType**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/imageexportparams.md#compressiontype)

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