ImageMan DLL Suite Version 8Submit feedback on this topic   

ImgGetColorChannel

HANDLE IMAPI ImgGetColorChannel(hSrc, iChannel)

This function

Parameter

Type

Description

hSrc

HANDLE

Identifies the source image

iChannel

INT

Identifies channel to separate

 

iChannel Options

Description

RGB_RED

Only merge the red channel

RGB_GREEN

Only merge the green channel

RGB_BLUE

Only merge the blue channel

RGB_ALPHA

Only merge the alpha channel

Return Value

Returns an Image Handle of the requested color channel(s) else NULL.

Comments

Can be used to separate color channels for working with independently. ImgMergeImage can then be used to recombine the separate channels.

 

 

 


© 1995-2004 Data Techniques, Inc. All rights reserved.