Skip to main content
GrayPictureFormatsEnum enumeration constants define the image formats or compression algorithms to be used when saving gray images.
typedef enum {
 GPF_Jpeg = 0x00000001,
 GPF_Zip  = 0x00000002,
 GPF_LZW  = 0x00000004,
 GPF_J2K  = 0x00000008,
 GPF_Png  = 0x00000010,
 GPF_Auto = 0x00000020
} GrayPictureFormatsEnum;

Elements

NameDescription
GPF\_AutoThe format is determined automatically depending on the output file format and settings.
GPF\_J2KGray JPEG 2000 format. <Note> The value is not available for PDF/A-1, RTF, DOCX, ODT, HTML, PPTX, FB2 and EPUB formats. </Note>
GPF\_JpegGray JPEG format.
GPF\_LZWLZW compression algorithm for gray images. <Note> The value is not available for PDF/A, RTF, DOCX, ODT, HTML, PPTX, FB2 and EPUB formats. </Note>
GPF\_PngGray PNG format. <Note> The value is not available for PDF, PDF/A formats. </Note>
GPF\_ZipZIP compression algorithm for gray images. <Note> The value is not available for RTF, DOCX, ODT, HTML, PPTX, FB2 and EPUB formats. </Note>

Used in

IPDFPictureCompressionParams::GrayPictureFormats IPictureExportParams::GrayPictureFormats