ExportPictureFormatEnum (Web Services API)

ExportPictureFormatEnum enumeration constants are used to set the color mode and compression method for images.

enum ExportPictureFormatEnum {
    EPF_Automatic,
    EPF_Ccitt4,
    EPF_J2KColor
    EPF_J2KGray,
    EPF_JBIG2
    EPF_JpegColor,
    EPF_JpegGray,
    EPF_LzwColor,
    EPF_LzwGray,
    EPF_PngBlackWhite,
    EPF_PngColor,
    EPF_PngGray,
    EPF_ZipColor,
    EPF_ZipGray
};

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_LzwColor Images are saved in color LZW format. This format is suitable for graphics.
EPF_LzwGray Images are saved in gray LZW format. This format is suitable for graphics and gray images.
EPF_PngBlackWhite Images are saved in black and white PNG format.
EPF_PngColor Images are saved in color PNG format.
EPF_PngGray Images are saved in gray PNG format.
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.
EPF_J2KGray Images are saved in gray JPEG 2000 format. This format is suitable for scanned or digital photos saved in gray-scale mode.
EPF_JBIG2 Images are saved in gray JBIG2 format. This format is suitable for binary images.

26.03.2024 13:49:49

Please leave your feedback about this article

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.