diff options
Diffstat (limited to 'include/Photo.php')
-rw-r--r-- | include/Photo.php | 2 |
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; } |