ImageFileFormatEnum

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*. ABBYY FineReader Engine can open image files in all formats described by these enumeration constants, but not all formats are supported for writing.

Important! Office document formats work with PDF copies of the source documents.

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
} ImageFileFormatEnum;
    

Elements

Name Description Supported for reading Supported for writing
IFF_BmpBwUncompressed Black-and-white uncompressed BMP. + +
IFF_BmpColorUncompressed Color uncompressed BMP. + +
IFF_BmpGrayUncompressed Gray uncompressed BMP. + +
IFF_DcxBwPackbits Black-and-white DCX. + +
IFF_DcxColorPackbits Color DCX. + +
IFF_DcxGrayPackbits Gray DCX. + +
IFF_DjVuBw Black-and-white DjVu. +
IFF_DjVuColor Color DjVu. +
IFF_DjVuGray Gray DjVu. +
IFF_GifBwLZW Black-and-white GIF, LZW-compressed. +
IFF_GifColorLZW Color GIF, LZW-compressed. +
IFF_GifGrayLZW Gray GIF, LZW-compressed. +
IFF_JBIG2 JBIG2. + +
IFF_Jpeg2kGray Gray JPEG 2000. + +
IFF_Jpeg2kColor Color JPEG 2000. + +
IFF_JpegColorJfif Color JPEG (JFIF fomat). + +
IFF_JpegGrayJfif Gray JPEG (JFIF fomat). + +
IFF_PcxBwPackbits Black-and-white PCX. + +
IFF_PcxColorPackbits Color PCX. + +
IFF_PcxGrayPackbits Gray PCX. + +
IFF_PDF PDF. + *
IFF_PngBwPng Black-and-white PNG. + +
IFF_PngColorPng Color PNG. + +
IFF_PngGrayPng Gray PNG. + +
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_TiffColorZip Color TIFF, ZIP-compressed. + +
IFF_TiffColorUncompressed Color uncompressed TIFF. + +
IFF_TiffGrayABBYYLossless Gray TIFF, ABBYYLossless compressed. +
IFF_TiffGrayJpegJfif Gray TIFF, JPEG(JFIF) compressed. + +
IFF_TiffGrayPackbits Gray TIFF, PACKBITS compressed. + +
IFF_TiffGrayUncompressed Gray uncompressed TIFF. + +
IFF_TiffGrayLZW Gray TIFF, LZW-compressed. + +
IFF_TiffGrayZip Gray TIFF, ZIP-compressed. + +
IFF_UnknownFormat This value specifies unknown format. May only appear as the return value.
IFF_WdpBw Black-and-white WDP. +
IFF_WdpColor Color WDP. +
IFF_WdpGray Gray WDP. +
IFF_Wic WIC-compatible. +
IFF_Doc DOC. + *
IFF_DocX DOCX. + *
IFF_Rtf RTF. + *
IFF_Html HTML. + *
IFF_Txt TXT. + *
IFF_Odt ODT. + *
IFF_Xls XLS. + *
IFF_XlsX XLSX. + *
IFF_Ods ODS. + *
IFF_Ppt PPT. + *
IFF_PptX PPTX. + *
IFF_Odp ODP. + *
IFF_Bmp BMP. + *
IFF_Dcx DCX. + *
IFF_DjVu DjVu. + *
IFF_Gif GIF. + *
IFF_Jpeg JPEG. + *
IFF_Jpeg2k JPEG 2000. + *
IFF_Pcx PCX. + *
IFF_Png PNG. + *
IFF_Tiff TIFF. + *

* 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 method of the FRDocument object or the SaveToFile method of the PDFAttachment object for attachments) instead.

Used in

IEngine::CreateMultipageImageWriter

IImageDocument::SourceImageFileFormat

IImage::WriteToFile

IPDFAttachment::FileFormat

See also

Supported Image Formats

24.03.2023 8:51:52

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.