ImageGear for C and C++ on Windows v19.10 - Updated
enumIGDIBExportFormats
API Reference Guide > Core Component API Reference > Core Component Enumerations Reference > enumIGDIBExportFormats

Identifies DIB format to be used for a DIB export operation.

Values:

IG_DIB_EXPORT_FORMAT_WINDOWS Export DIB in standard Windows DIB format. 9-16bpp grayscale images cannot be exported in this format. CMYK images will be exported as 24bpp RGB.
IG_DIB_EXPORT_FORMAT_IG_LEGACY Export DIB in ImageGear legacy format. In this format, DIB compression can be IG_BI_GRAYSCALE for 9-16bpp grayscale, in which case the DIB bit depth will be the actual bit depth from 9 to 16. Also, DIB compression can be IG_BI_CMYK for CMYK images, in which case the DIB bit depth will be 32.