mirror of
https://github.com/Intervention/image.git
synced 2025-08-22 21:42:53 +02:00
Fix bug
This commit is contained in:
@@ -27,8 +27,8 @@ class PixelateModifier implements ModifierInterface
|
|||||||
$size = $frame->getSize();
|
$size = $frame->getSize();
|
||||||
|
|
||||||
$frame->getCore()->scaleImage(
|
$frame->getCore()->scaleImage(
|
||||||
max(1, ($size->getWidth() / $this->size)),
|
round(max(1, ($size->getWidth() / $this->size))),
|
||||||
max(1, ($size->getHeight() / $this->size))
|
round(max(1, ($size->getHeight() / $this->size)))
|
||||||
);
|
);
|
||||||
|
|
||||||
$frame->getCore()->scaleImage($size->getWidth(), $size->getHeight());
|
$frame->getCore()->scaleImage($size->getWidth(), $size->getHeight());
|
||||||
|
Reference in New Issue
Block a user