aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/resize.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/resize.php b/lib/resize.php
index 974f32e9e..ebbf587d7 100644
--- a/lib/resize.php
+++ b/lib/resize.php
@@ -350,6 +350,7 @@
// use the default IM filter (windowing filter), I think 1 means default blurring or number of lobes
$img->resizeImage($newwidth, $newheight, imagick::FILTER_LANCZOS, 1);
+ $img->setImagePage($newwidth, $newheight, 0, 0);
if ($img->writeImage($output_name) != true) {
$img->destroy();