ExportPictureFormatEnum (COM-based API)
ExportPictureFormatEnum enumeration constants are used to set the color mode and compression method for images inside the PDF (PDF/A) and EPUB files.
enum ExportPictureFormatEnum {
EPF_Automatic = 0,
EPF_Ccitt4 = 1,
EPF_JpegColor = 2,
EPF_JpegGray = 3,
EPF_LzwColor = 4,
EPF_LzwGray = 5,
EPF_ZipColor = 6,
EPF_ZipGray = 7,
EPF_J2KColor = 8,
EPF_J2KGray = 9,
EPF_JBIG2 = 10,
EPF_PngColor = 11,
EPF_PngGray = 12,
EPF_PngBlackWhite = 13
};
Elements
Name | Description |
EPF_Automatic | The compression method and color mode are selected automatically based on two image properties: Color Type (black and white, grayscale, or color) and Color Variety (low or high). Black-and-white images are always saved using the CCITT4 compression algorithm. Grayscale and color images are saved using the ZIP compression algorithm in the case of low color variety, and using the JPEG compression algorithm in the case of high color variety. |
EPF_Ccitt4 | This format allows you to save pictures in black-and-white mode. The CCITT4 compression algorithm is used. |
EPF_JpegColor | Images are saved in color JPEG format. This format is suitable for documents containing color scanned or digital photos. |
EPF_JpegGray | Images are saved in gray JPEG format. This format is suitable for scanned or digital photos saved in gray-scale mode. |
EPF_PngBlackWhite | Images are saved in black and white PNG format. |
EPF_PngColor | Images are saved in color PNG format. This format is suitable for documents containing color scanned or digital photos. |
EPF_PngGray | Images are saved in gray PNG format. This format is suitable for scanned or digital photos saved in gray-scale mode. |
EPF_LzwColor | Images are saved in color LZW format. This format is suitable for graphics. This format is not available for PDF/A files. |
EPF_LzwGray | Images are saved in gray LZW format. This format is suitable for graphics and gray images. This format is not available for PDF/A files. |
EPF_ZipColor | Images are saved in color ZIP format. This format is suitable for pictures created with paint programs. |
EPF_ZipGray | Images are saved in gray ZIP format. This format allows you to save pictures in gray-scale mode. |
EPF_J2KColor | Images are saved in color JPEG 2000 format. This format is suitable for documents containing color scanned or digital photos. This format is not available for PDF/A files. |
EPF_J2KGray | Images are saved in gray JPEG 2000 format. This format is suitable for scanned or digital photos saved in gray-scale mode. This format is not available for PDF/A files. |
EPF_JBIG2 | Images are saved in gray JBIG2 format. This format is suitable for binary images. |
See also
IPDFExportSettings::PictureFormat,
3/26/2024 1:49:49 PM