From: Hypolite Petovan Date: Fri, 8 Dec 2017 04:32:49 +0000 (-0500) Subject: Fix undefined Imagick::scaleDown error X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3810b483cf7a8cdda74289fcb547b60f9eea0eac;p=friendica.git Fix undefined Imagick::scaleDown error --- diff --git a/src/Object/Image.php b/src/Object/Image.php index 79fbf3a990..f5ba1537af 100644 --- a/src/Object/Image.php +++ b/src/Object/Image.php @@ -350,7 +350,7 @@ class Image // FIXME - implement horizantal bias for scaling as in followin GD functions // to allow very tall images to be constrained only horizontally. - $this->image->scaleDown($dest_width, $dest_height); + $this->image->scaleImage($dest_width, $dest_height); } while ($this->image->nextImage()); // These may not be necessary any more