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

# ImageFileFormatEnum

> ImageFileFormatEnum in the ABBYY FineReader Engine API — Image file formats that FineReader Engine can read and (sometimes) write; not all formats support writing.

ImageFileFormatEnum enumeration constants are used to specify the format of the image file that can be read or written by means of ABBYY FineReader Engine[\*](/fine-reader/engine/api-reference/enumerations/imagefileformatenum#pdf). ABBYY FineReader Engine can open image files in all formats described by these enumeration constants, but not all formats are supported for writing.

<Warning>
  In Windows and Linux, Office document formats work with PDF copies of the source documents.
</Warning>

The list below may include formats that are not applicable to Linux or Mac. See the table following the list.

```
typedef enum {
 IFF_UnknownFormat,
 IFF_BmpBwUncompressed,
 IFF_BmpGrayUncompressed,
 IFF_BmpColorUncompressed,
 IFF_DcxBwPackbits,
 IFF_DcxGrayPackbits,
 IFF_DcxColorPackbits,
 IFF_JpegGrayJfif,
 IFF_JpegColorJfif,
 IFF_PcxBwPackbits,
 IFF_PcxGrayPackbits,
 IFF_PcxColorPackbits,
 IFF_PngBwPng,
 IFF_PngGrayPng,
 IFF_PngColorPng,
 IFF_TiffBwUncompressed,
 IFF_TiffBwCcittGroup3,
 IFF_TiffBwCcittGroup3Fax,
 IFF_TiffBwCcittGroup4,
 IFF_TiffBwPackbits,
 IFF_TiffGrayUncompressed,
 IFF_TiffGrayPackbits,
 IFF_TiffGrayJpegJfif,
 IFF_TiffColorUncompressed,
 IFF_TiffColorPackbits,
 IFF_TiffColorJpegJfif,
 IFF_TiffGrayABBYYLossless,
 IFF_TiffColorABBYYLossless,
 IFF_Jpeg2kGray,
 IFF_Jpeg2kColor,
 IFF_PDF,
 IFF_TiffBwLZW,
 IFF_TiffGrayLZW,
 IFF_TiffColorLZW,
 IFF_TiffBwZip,
 IFF_TiffGrayZip,
 IFF_TiffColorZip,
 IFF_GifBwLZW,
 IFF_GifGrayLZW,
 IFF_GifColorLZW,
 IFF_DjVuBw,
 IFF_DjVuGray,
 IFF_DjVuColor,
 IFF_JBIG2,
 IFF_WdpBw,
 IFF_WdpGray,
 IFF_WdpColor,
 IFF_Wic,
 IFF_Doc,
 IFF_DocX,
 IFF_Rtf,
 IFF_Html,
 IFF_Txt,
 IFF_Odt,
 IFF_Xls,
 IFF_XlsX,
 IFF_Ods,
 IFF_Ppt,
 IFF_PptX,
 IFF_Odp,
 IFF_Bmp,
 IFF_Dcx,
 IFF_DjVu,
 IFF_Gif,
 IFF_Jpeg,
 IFF_Jpeg2k,
 IFF_Pcx,
 IFF_Png,
 IFF_Tiff,
 IFF_Heif,
 IFF_Svg,
 IFF_WebP
} ImageFileFormatEnum;
```

## Elements

| Name | Description | Supported for reading | Supported for writing |
| - | - | - | - |
| IFF\\\_Bmp | BMP | + | [\*](/fine-reader/engine/api-reference/enumerations/imagefileformatenum#pdf) |
| IFF\\\_BmpBwUncompressed | Black-and-white uncompressed BMP | + | + |
| IFF\\\_BmpColorUncompressed | Color uncompressed BMP | + | + |
| IFF\\\_BmpGrayUncompressed | Gray uncompressed BMP | + | + |
| IFF\\\_Dcx | DCX | + | [\*](/fine-reader/engine/api-reference/enumerations/imagefileformatenum#pdf) |
| IFF\\\_DcxBwPackbits | Black-and-white DCX | + | + |
| IFF\\\_DcxColorPackbits | Color DCX | + | + |
| IFF\\\_DcxGrayPackbits | Gray DCX | + | + |
| IFF\\\_DjVu <br /><br /> **Note:** *Windows only.* | DjVu | + | [\*](/fine-reader/engine/api-reference/enumerations/imagefileformatenum#pdf) |
| IFF\\\_DjVuBw <br /><br /> **Note:** *Windows only.* | Black-and-white DjVu | + | |
| IFF\\\_DjVuColor <br /><br /> **Note:** *Windows only.* | Color DjVu | + | |
| IFF\\\_DjVuGray <br /><br /> **Note:** *Windows only.* | Gray DjVu | + | |
| IFF\\\_Doc | DOC | + | [\*](/fine-reader/engine/api-reference/enumerations/imagefileformatenum#pdf) |
| IFF\\\_DocX | DOCX | + | [\*](/fine-reader/engine/api-reference/enumerations/imagefileformatenum#pdf) |
| IFF\\\_Gif | GIF | + | [\*](/fine-reader/engine/api-reference/enumerations/imagefileformatenum#pdf) |
| IFF\\\_GifBwLZW | Black-and-white GIF, LZW-compressed | + | |
| IFF\\\_GifColorLZW | Color GIF, LZW-compressed | + | |
| IFF\\\_GifGrayLZW | Gray GIF, LZW-compressed | + | |
| IFF\\\_Heif | HEIF/HEIC | + | |
| IFF\\\_Html | HTML | + | [\*](/fine-reader/engine/api-reference/enumerations/imagefileformatenum#pdf) |
| IFF\\\_JBIG2 | JBIG2 | + | + |
| IFF\\\_Jpeg | JPEG | + | [\*](/fine-reader/engine/api-reference/enumerations/imagefileformatenum#pdf) |
| IFF\\\_Jpeg2k | JPEG 2000 | + | [\*](/fine-reader/engine/api-reference/enumerations/imagefileformatenum#pdf) |
| IFF\\\_Jpeg2kColor | Color JPEG 2000 | + | + |
| IFF\\\_Jpeg2kGray | Gray JPEG 2000 | + | + |
| IFF\\\_JpegColorJfif | Color JPEG (JFIF fomat) | + | + |
| IFF\\\_JpegGrayJfif | Gray JPEG (JFIF fomat) | + | + |
| IFF\\\_Odp | ODP | + | [\*](/fine-reader/engine/api-reference/enumerations/imagefileformatenum#pdf) |
| IFF\\\_Ods | ODS | + | [\*](/fine-reader/engine/api-reference/enumerations/imagefileformatenum#pdf) |
| IFF\\\_Odt | ODT | + | [\*](/fine-reader/engine/api-reference/enumerations/imagefileformatenum#pdf) |
| IFF\\\_Pcx | PCX | + | [\*](/fine-reader/engine/api-reference/enumerations/imagefileformatenum#pdf) |
| IFF\\\_PcxBwPackbits | Black-and-white PCX | + | + |
| IFF\\\_PcxColorPackbits | Color PCX | + | + |
| IFF\\\_PcxGrayPackbits | Gray PCX | + | + |
| IFF\\\_PDF | PDF | + | [\*](/fine-reader/engine/api-reference/enumerations/imagefileformatenum#pdf) |
| IFF\\\_Png | PNG | + | [\*](/fine-reader/engine/api-reference/enumerations/imagefileformatenum#pdf) |
| IFF\\\_PngBwPng | Black-and-white PNG | + | + |
| IFF\\\_PngColorPng | Color PNG | + | + |
| IFF\\\_PngGrayPng | Gray PNG | + | + |
| IFF\\\_Ppt | PPT | + | [\*](/fine-reader/engine/api-reference/enumerations/imagefileformatenum#pdf) |
| IFF\\\_PptX | PPTX | + | [\*](/fine-reader/engine/api-reference/enumerations/imagefileformatenum#pdf) |
| IFF\\\_Rtf | RTF | + | [\*](/fine-reader/engine/api-reference/enumerations/imagefileformatenum#pdf) |
| IFF\\\_Svg | SVG | + | |
| IFF\\\_Tiff | TIFF | + | [\*](/fine-reader/engine/api-reference/enumerations/imagefileformatenum#pdf) |
| IFF\\\_TiffBwCcittGroup3 | Black-and-white TIFF, GROUP3 compressed | + | + |
| IFF\\\_TiffBwCcittGroup3Fax | Black-and-white TIFF, GROUP3FAX compressed | + | |
| IFF\\\_TiffBwCcittGroup4 | Black-and-white TIFF, GROUP4 compressed | + | + |
| IFF\\\_TiffBwLZW | Black-and-white TIFF, LZW-compressed | + | + |
| IFF\\\_TiffBwPackbits | Black-and-white TIFF, PACKBITS compressed | + | + |
| IFF\\\_TiffBwUncompressed | Black-and-white uncompressed TIFF | + | + |
| IFF\\\_TiffBwZip | Black-and-white TIFF, ZIP-compressed | + | + |
| IFF\\\_TiffColorABBYYLossless | Color TIFF, ABBYYLossless compressed | + | |
| IFF\\\_TiffColorJpegJfif | Color TIFF, JPEG(JFIF) compressed | + | + |
| IFF\\\_TiffColorLZW | Color TIFF, LZW-compressed | + | + |
| IFF\\\_TiffColorPackbits | Color TIFF, PACKBITS compressed | + | + |
| IFF\\\_TiffColorUncompressed | Color uncompressed TIFF | + | + |
| IFF\\\_TiffColorZip | Color TIFF, ZIP-compressed | + | + |
| IFF\\\_TiffGrayABBYYLossless | Gray TIFF, ABBYYLossless compressed | + | |
| IFF\\\_TiffGrayJpegJfif | Gray TIFF, JPEG(JFIF) compressed | + | + |
| IFF\\\_TiffGrayLZW | Gray TIFF, LZW-compressed | + | + |
| IFF\\\_TiffGrayPackbits | Gray TIFF, PACKBITS compressed | + | + |
| IFF\\\_TiffGrayUncompressed | Gray uncompressed TIFF | + | + |
| IFF\\\_TiffGrayZip | Gray TIFF, ZIP-compressed | + | + |
| IFF\\\_Txt | TXT | + | [\*](/fine-reader/engine/api-reference/enumerations/imagefileformatenum#pdf) |
| IFF\\\_UnknownFormat | This value specifies unknown format. May only appear as the return value. | | |
| IFF\\\_WdpBw <br /><br /> **Note:** *Windows only.* | Black-and-white WDP | + | |
| IFF\\\_WdpColor <br /><br /> **Note:** *Windows only.* | Color WDP | + | |
| IFF\\\_WdpGray <br /><br /> **Note:** *Windows only.* | Gray WDP | + | |
| IFF\\\_WebP | WebP | + | |
| IFF\\\_Wic <br /><br /> **Note:** *Windows only.* | WIC-compatible | + | |
| IFF\\\_Xls | XLS | + | [\*](/fine-reader/engine/api-reference/enumerations/imagefileformatenum#pdf) |
| IFF\\\_XlsX | XLSX | + | [\*](/fine-reader/engine/api-reference/enumerations/imagefileformatenum#pdf) |

\* In Linux and Windows, several file formats (used in PDF files, Office documents, and images without specified color type) are unavailable for writing. To save the documents, use the export methods (for example, the [Export](/fine-reader/engine/api-reference/document-related-objects/frdocument/export-method) method of the [FRDocument](/fine-reader/engine/api-reference/document-related-objects/frdocument) object or the [SaveToFile](/fine-reader/engine/api-reference/document-related-objects/pdfattachment/savetofile-method) method of the [PDFAttachment](/fine-reader/engine/api-reference/document-related-objects/pdfattachment) object for attachments) instead.

## Used in

[IEngine::CreateMultipageImageWriter](/fine-reader/engine/api-reference/engine-object-iengine-interface/creation-methods/createmultipageimagewriter-method)

[IImageDocument::SourceImageFileFormat](/fine-reader/engine/api-reference/image-related-objects/imagedocument#sourceimagefileformat)

[IImage::WriteToFile](/fine-reader/engine/api-reference/image-related-objects/image/writetofile-method)

[IPDFAttachment::FileFormat](/fine-reader/engine/api-reference/document-related-objects/pdfattachment#fileformat)

## See also

[Supported Image Formats](/fine-reader/engine/specifications/supported-image-formats)
