Table of Contents

 
GetImageRGB
 

Purpose

Gets the image's transparency key

 

Protoype

RGB_SET CImageMngr::GetImageRGB (string str_img_id)
 

Parameters

img_id the ID of the image to query
 

Description

This function queries the given image object and extracts its transparency key, which is returned as an RGB_SET.

 

Use

CImageMngr image;
RGB_SET key = image.GetImageRGB("my_image");
 

Prev: GetImageHeight