All functions Mac OS X Windows Crossplatform Components New in version: 1.0 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 2.0
Component: GraphicsMagick
Mac OS X: Works
Windows: Works
MBS( "GMImage.Gamma"; ImageRef; gammaRed; gammaGreen; gammaBlue )
Parameter | Description | Example value |
---|---|---|
ImageRef | The image reference (a number returned from the GMImage.New functions) | 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.
Feedback: Report problem or ask question.