add_luminance_effect method
add_luminance_effect
Adds the new Luminance effect to the end of a collection.
Returns
Index of the new image effect in a collection.
def add_luminance_effect(self, brightness, contrast):
...
| Parameter | Type | Description |
|---|---|---|
| brightness | float | The percent to change the brightness. |
| contrast | float | The percent to change the contrast. |
See Also
- class
IImageTransformOperationCollection - class
ILuminance - module
aspose.slides.effects - library
Aspose.Slides