protected function Modulate::process in Imagick 8
File
- src/
Plugin/ ImageToolkit/ Operation/ imagick/ Modulate.php, line 40
Class
- Modulate
- Defines imagick modulate operation.
Namespace
Drupal\imagick\Plugin\ImageToolkit\Operation\imagickCode
protected function process(Imagick $resource, array $arguments) {
return $resource
->modulateImage($arguments['brightness'], $arguments['saturation'], $arguments['hue']);
}