protected function Frame::process in Imagick 8
File
- src/
Plugin/ ImageToolkit/ Operation/ imagick/ Frame.php, line 47
Class
- Frame
- Defines imagick frame operation.
Namespace
Drupal\imagick\Plugin\ImageToolkit\Operation\imagickCode
protected function process(Imagick $resource, array $arguments) {
$color = new ImagickPixel($arguments['matte_color']);
return $resource
->frameImage($color, $arguments['width'], $arguments['height'], $arguments['inner_bevel'], $arguments['outer_bevel']);
}