aboutsummaryrefslogtreecommitdiffstats
path: root/include/Photo.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-08-05 21:41:58 -0700
committerfriendica <info@friendica.com>2012-08-05 21:41:58 -0700
commitc673c70c25143f18b2ef6aef9ee6633d0eac46ae (patch)
treea5e242bc114a08cd7a46868e56f5159075f3e7fe /include/Photo.php
parent4f645992100a9c2a9877548b37cf4f78b4c6a160 (diff)
downloadvolse-hubzilla-c673c70c25143f18b2ef6aef9ee6633d0eac46ae.tar.gz
volse-hubzilla-c673c70c25143f18b2ef6aef9ee6633d0eac46ae.tar.bz2
volse-hubzilla-c673c70c25143f18b2ef6aef9ee6633d0eac46ae.zip
updates
Diffstat (limited to 'include/Photo.php')
-rw-r--r--include/Photo.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/Photo.php b/include/Photo.php
index e870a2507..d5e9ac9e6 100644
--- a/include/Photo.php
+++ b/include/Photo.php
@@ -247,7 +247,7 @@ class Photo {
if($this->is_imagick()) {
$this->image->setFirstIterator();
do {
- $this->image->rotateImage(new ImagickPixel(), $degrees);
+ $this->image->rotateImage(new ImagickPixel(), -$degrees); // ImageMagick rotates in the opposite direction of imagerotate()
} while ($this->image->nextImage());
return;
}