]> git.mxchange.org Git - friendica.git/blobdiff - src/Object/Image.php
Removed useless "function_exists" checks
[friendica.git] / src / Object / Image.php
index 79fbf3a99038a1b3dd327c1f6fecf8711c1b6402..b39945ede691756e757d702278a4b86d0279f53a 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
@@ -594,7 +594,7 @@ class Image
                if ($this->isImagick()) {
                        $this->image->setFirstIterator();
                        do {
-                               $this->image->scaleDown($dim, $dim);
+                               $this->image->scaleImage($dim, $dim);
                        } while ($this->image->nextImage());
                        return;
                }