Oilpaint.php in Imagick 8
File
src/Plugin/ImageToolkit/Operation/imagick/Oilpaint.php
View source
<?php
namespace Drupal\imagick\Plugin\ImageToolkit\Operation\imagick;
use Imagick;
class Oilpaint extends ImagickOperationBase {
protected function arguments() {
return [
'radius' => [
'description' => 'The threshold of the oilpaint effect.',
],
];
}
protected function process(Imagick $resource, array $arguments) {
return $resource
->oilPaintImage($arguments['radius']);
}
}
Classes
Name |
Description |
Oilpaint |
Defines imagick oilpaint operation. |