ImageGear for C and C++ on Windows v19.1 - Updated
IG_gui_compname_get
API Reference Guide > GUI Component API Reference > GUI Component Functions Reference > Utility Functions > IG_gui_compname_get

This function returns textual name for compression constants.

Declaration:

 
Copy Code
VOID  ACCUAPI  IG_gui_compname_get(
        AT_MODE nCompression,
        LPCHAR lpStr,
        DWORD dwSize
);

Arguments:

Name Type Description
nCompression AT_MODE The ImageGear compression constant by type IG_COMPRESSION_.
lpStr LPCHAR String representation of compression constant specified by nCompression argument.
dwSize DWORD The buffer size of lpStr argument.

Return Value:

None

Supported Raster Image Formats:

This function does not process image pixels.

Sample:

GUI Windows

Remarks:

It accepts IG_COMPRESSION_... constant by the first argument and returns its string representation by the second argument. Third dwSize argument is used to provide lpStr buffer size.