]> git.mxchange.org Git - friendica.git/commitdiff
Fix undefined Imagick::scaleDown error
authorHypolite Petovan <mrpetovan@gmail.com>
Fri, 8 Dec 2017 04:32:49 +0000 (23:32 -0500)
committerHypolite Petovan <mrpetovan@gmail.com>
Fri, 8 Dec 2017 04:32:49 +0000 (23:32 -0500)
src/Object/Image.php

index 79fbf3a99038a1b3dd327c1f6fecf8711c1b6402..f5ba1537afc137c2afc410ed4d17b3188242bc3c 100644 (file)
@@ -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