Adjusts the contrast of the image.
- Namespace
- Statiq
.Images - Containing Type
- MutateImage
Syntax
public MutateImage Contrast(float amount)
Parameters
Name | Type | Description |
---|---|---|
amount | float | A value of 0 will create an image that is completely gray. A value of 1 leaves the input unchanged. Other values are linear multipliers on the effect. Values of an amount over 1 are allowed, providing results with more contrast. |
Return Value
Type | Description |
---|---|
MutateImage | The current module instance. |