ImageGear Professional for Windows ActiveX
IGColorSpaceConverter Object

Description:

This object provides access to the new color space conversion engine. This color space converter uses a new enumeration for color spaces: enumIGColorSpaceIDs Enumeration. These IDs can be combined to specify not only a color space, but also whether or not alpha and extra channels are present, as well as what type of alpha channel is present.

The procedure for using this color space converter is simple:

1. Create an IGColorSpaceConverter object.

2. Set its properties according to the type of conversion you want to do.

3. Then call its ApplyToPage Method to apply the conversion to an image stored in an IGPage Object.

Interface:

IGColorSpaceConverter extends IIGObject

Members:

Methods
ApplyToPage Method Applies color space conversion to an image
Properties
AlphaBlendApply Property Specifies whether or not an image with an alpha channel should be blended with the background color specified by AlphaBlendBkGnd
AlphaBlendBkGnd Property Background color used for alpha blending, if AlphaBlendApply is True
ColorSpace Property Destination color space ID (see enumIGColorSpaceIDs)
ExtraChannelCount Property Number of extra channels to transfer from source to result, if ExtraRange is True
ExtraRange Property Specifies whether or not a specific range of extra channels should be transferred from source to result. If False, all extra channels are transferred. If True, extra channels specified by ExtraStartChannel and ExtraChannelCount are transferred
ExtraStartChannel Property Index of first extra channel to transfer from source to result, if ExtraRange is True

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback