'Declaration
Public Function fxRemoveBackgroundChromaKey( _ ByVal ImageID As Integer, _ ByVal Component As ColorKey, _ ByVal Variation As Integer, _ ByVal MinKeyValue As Integer _ ) As GdPictureStatus
public GdPictureStatus fxRemoveBackgroundChromaKey( int ImageID, ColorKey Component, int Variation, int MinKeyValue )
public function fxRemoveBackgroundChromaKey( ImageID: Integer; Component: ColorKey; Variation: Integer; MinKeyValue: Integer ): GdPictureStatus;
public function fxRemoveBackgroundChromaKey( ImageID : int, Component : ColorKey, Variation : int, MinKeyValue : int ) : GdPictureStatus;
public: GdPictureStatus fxRemoveBackgroundChromaKey( int ImageID, ColorKey Component, int Variation, int MinKeyValue )
public: GdPictureStatus fxRemoveBackgroundChromaKey( int ImageID, ColorKey Component, int Variation, int MinKeyValue )
Parameters
- ImageID
- GdPicture image identifier.
- Component
- A member of the ColorKey enumeration defining the color to remove (can be Red, Blue or Green).
- Variation
- Variation between 0 and 512. 0 means no possible variation of the color key. Suggest value is 240, higher can result with non removed background space.
- MinKeyValue
- Specifies the minimum value of the component. Must be a value between 0 and 255. Default value is 25 for dark background, 50 for standard background and 80 for background with high luminosity.
Return Value
A member of the GdPictureStatus enumeration.