Set default gamma value: 0.5 - 4.0 | -1
Usage
// basic usage
$self = $imageSizerEngine->setDefaultGamma();
// usage with all arguments
$self = $imageSizerEngine->setDefaultGamma($value = 2.2);
Arguments
Name | Type(s) | Description |
---|---|---|
value (optional) | float, int | 0.5 to 4.0 or -1 to disable |
Return value
self
Exceptions
Method can throw exceptions on error:
WireException
- when given invalid value
ImageSizerEngine methods and properties
API reference based on ProcessWire core version 3.0.236