From 69b38d8a7c9c2dfc3a80466b6e49918d21dd9a5a Mon Sep 17 00:00:00 2001 From: Oliver Vogel Date: Wed, 1 Dec 2021 16:08:15 +0100 Subject: [PATCH] Modifiers --- src/Drivers/Imagick/Modifiers/PadModifier.php | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 src/Drivers/Imagick/Modifiers/PadModifier.php diff --git a/src/Drivers/Imagick/Modifiers/PadModifier.php b/src/Drivers/Imagick/Modifiers/PadModifier.php new file mode 100644 index 00000000..df8eb29f --- /dev/null +++ b/src/Drivers/Imagick/Modifiers/PadModifier.php @@ -0,0 +1,31 @@ +crop = $crop; + $this->resize = $resize; + $this->backgroundColor = $backgroundColor; + } + + public function apply(ImageInterface $image): ImageInterface + { + foreach ($image as $frame) { + // + } + + return $image; + } +}