Summary
Adjusts the contrast of the image.
- Assembly
- Wyam
.Images .dll - Namespace
- Wyam
.Images - Containing Type
- Image
Syntax
public Image 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 |
---|---|
Image | The current module instance. |