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

This function displays the Colorspace Conversion dialog and allows you to convert the bitdepth and colorspace of an image.

Declaration:

 
Copy Code
BOOL ACCUAPI IG_gui_img_colorspace_dlg(
   HWND hWnd,
   HIGEAR hImage
);

Arguments:

Name Type Description
hWnd HWND The HWND handle of the parent window.
hImage HIGEAR The HIGEAR handle of the image to be modified.

Return Value:

A Boolean value. If the user clicks OK, returns TRUE. Otherwise, returns FALSE.

Supported Raster Image Formats:

All pixel formats supported by ImageGear.

Sample:

None