aboutsummaryrefslogtreecommitdiffstats
path: root/include/photo/photo_imagick.php
diff options
context:
space:
mode:
authorChristian Vogeley <christian.vogeley@hotmail.de>2013-08-03 00:14:59 +0200
committerChristian Vogeley <christian.vogeley@hotmail.de>2013-08-03 00:14:59 +0200
commit9294f72adb3c076932558b6f29a4c570e7962764 (patch)
treec0a7d4f5b56e922c2a572f4f0a414a405f92cd82 /include/photo/photo_imagick.php
parentc0cd147a3a9a86b270ea32026089ced16fb2f50c (diff)
downloadvolse-hubzilla-9294f72adb3c076932558b6f29a4c570e7962764.tar.gz
volse-hubzilla-9294f72adb3c076932558b6f29a4c570e7962764.tar.bz2
volse-hubzilla-9294f72adb3c076932558b6f29a4c570e7962764.zip
Revert "merge"
This reverts commit c0cd147a3a9a86b270ea32026089ced16fb2f50c, reversing changes made to d2d1e54bfe928fe4cdfdcfc7e9acf658cda76898.
Diffstat (limited to 'include/photo/photo_imagick.php')
-rw-r--r--include/photo/photo_imagick.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/photo/photo_imagick.php b/include/photo/photo_imagick.php
index 3f84fd06c..2737c8f69 100644
--- a/include/photo/photo_imagick.php
+++ b/include/photo/photo_imagick.php
@@ -153,14 +153,14 @@ class photo_imagick extends photo_driver {
do {
$this->image->cropImage($w, $h, $x, $y);
/**
- * We need to remove the canvas,
+ * We need to remove the canva,
* or the image is not resized to the crop:
* http://php.net/manual/en/imagick.cropimage.php#97232
*/
$this->image->setImagePage(0, 0, 0, 0);
} while ($this->image->nextImage());
- $this->doScaleImage($max,$max);
+ $this->doScaleImage($max);
}
public function imageString() {