SetGammaCorrection Method

See Also     Examples     Applies To

Performs Gamma correction into the native GdPicture image or into an area of the native GdPicture image defined by SetROI() function.

Syntax

object.SetGammaCorrection (nGammaFactor)

The SetGammaCorrection syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
nGammaFactor Required. Long. Factor of Gamma adjustement.

Returns

Long. GdPictureStatus

Category

Brightness / Contrast / Saturation / Gamma

Visual Basic Sample

To increase gamma of 10%


              nStat = object.SetGammaCorrection(10)






© Copyright 2008 GdPicture All rights reserved.
Documentation MAP.