1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-22 13:32:56 +02:00
This commit is contained in:
Oliver Vogel
2023-10-21 10:10:38 +02:00
parent f7fd1f3c5d
commit 0e285f7a36

View File

@@ -27,8 +27,8 @@ class PixelateModifier implements ModifierInterface
$size = $frame->getSize();
$frame->getCore()->scaleImage(
max(1, ($size->getWidth() / $this->size)),
max(1, ($size->getHeight() / $this->size))
round(max(1, ($size->getWidth() / $this->size))),
round(max(1, ($size->getHeight() / $this->size)))
);
$frame->getCore()->scaleImage($size->getWidth(), $size->getHeight());