X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FObject%2FImage.php;h=00f8f3c5bbe89553a3c7932168b9de85fcacd1c2;hb=8ad94fef9bdbae4a328d5b30b094158485618cc8;hp=62bc8d897f606be22da30cd7536d268bb2cb5736;hpb=eb87a2afbec4ffbd7a7462352d2f926184ba7c63;p=friendica.git diff --git a/src/Object/Image.php b/src/Object/Image.php index 62bc8d897f..00f8f3c5bb 100644 --- a/src/Object/Image.php +++ b/src/Object/Image.php @@ -1,6 +1,6 @@ image->getImageOrientation(); switch ($orientation) { case Imagick::ORIENTATION_BOTTOMRIGHT: - $this->image->rotateimage("#000", 180); + $this->rotate(180); break; case Imagick::ORIENTATION_RIGHTTOP: - $this->image->rotateimage("#000", 90); + $this->rotate(-90); break; case Imagick::ORIENTATION_LEFTBOTTOM: - $this->image->rotateimage("#000", -90); + $this->rotate(90); break; }