Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
GMImage.Gamma
Gamma correct image.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
GraphicsMagick | 2.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "GMImage.Gamma"; ImageRef; gammaRed; gammaGreen; gammaBlue ) More
Parameters
Parameter | Description | Example |
---|---|---|
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 |
Result
Returns "OK" on success.
Description
Gamma correct image.You can also pass only one gamma value for all three channels.
See also
This function checks for a license.
Created 18th August 2014, last changed 18th August 2014