Filestack\Filelink::modulate
Set this Filelink's transform_url to include the modulate task
Signature
public function modulate([integer
$brightness = 100,
[integer
$hue = 0,
[integer
$saturation = 100]]] )
Parameters
$brightness
—
integer
- The amount to change the brightness of an
image. The value range is 0 to 10000.
$hue
—
integer
- The degree to set the hue to. The value
range is 0 - 359, where 0 is the equivalent
of red and 180 is the equivalent of cyan.
$saturation
—
integer
- The amount to change the saturation of image.
The value range is 0 to 10000.
Returns
- Filestack/Filelink
Errors/Exceptions
-
FilestackException
- if API call fails, e.g 404 file not found
Test Coverage
Information
- Coverage: / Lines (%)
- Tests: 0
- Passed: 0 (0%)