Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  


Gamma correct image.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
GraphicsMagick 2.0 Yes Yes Yes Yes Yes

MBS( "GMImage.Gamma"; ImageRef; gammaRed; gammaGreen; gammaBlue )


Parameter Description Example value
ImageRef The image reference number. 1
gammaRed The gamma value for the red channel. (or if only one value is given the gamma value for all channels) 0.5
gammaGreen The gamma value for the green channel. 0.5
gammaBlue The gamma value for the blue channel. 0.5


Returns "OK" on success.


Gamma correct image.
You can also pass only one gamma value for all three channels.

See also

GMImage.Frame   -   GMImage.GaussianBlur

Feedback: Report problem or ask question.

MBS Xojo Chart Plugins