ImageGear for C and C++ on Windows v19.1 - Updated
IG_colorbook_create_from_file
API Reference Guide > Core Component API Reference > Core Component Functions Reference > ColorBook Functions > IG_colorbook_create_from_file

This function creates a new ColorBook from file.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_colorbook_create_from_file(
        LPCHAR lpFileName,
        HIGCOLORBOOK* lphColorBook
);

Arguments:

Name Type Description
lpFileName LPCHAR Color book filename.
lphColorBook HIGCOLORBOOK* Created ColorBook.

Return Value:

Returns the number of ImageGear errors that occurred during this function call. If there are no errors, the return value is IGE_SUCCESS.

Supported Raster Image Formats:

This function does not process image pixels.