Skip to main content
ColorPictureFormatsEnum enumeration constants define the image formats or compression algorithms to be used when saving color images.
typedef enum {
 CPF_Jpeg = 0x00000001,
 CPF_Zip  = 0x00000002,
 CPF_LZW  = 0x00000004,
 CPF_J2K  = 0x00000008,
 CPF_Png  = 0x00000010,
 CPF_Auto = 0x00000020
} ColorPictureFormatsEnum;

Elements

NameDescription
CPF\_AutoThe format is defined automatically depending on the output file format and settings.
CPF\_J2KColor JPEG 2000 format. <Note> The value is not available for PDF/A-1, RTF, DOCX, ODT, HTML, PPTX, FB2 and EPUB formats. </Note>
CPF\_JpegColor JPEG format.
CPF\_LZWLZW compression algorithm for color images. <Note> The value is not available for PDF/A, RTF, DOCX, ODT, HTML, PPTX, FB2 and EPUB formats. </Note>
CPF\_PngColor PNG format. <Note> The value is not available for PDF, PDF/A formats. </Note>
CPF\_ZipZIP compression algorithm for color images. <Note> The value is not available for RTF, DOCX, ODT, HTML, PPTX, FB2 and EPUB formats. </Note>

Used in

IPDFPictureCompressionParams::ColorPictureFormats IPictureExportParams::ColorPictureFormats