mirror of
https://github.com/friendica/friendica
synced 2025-04-13 12:39:02 +00:00
Update src/Object/Image.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
ed05d6376d
commit
2d1d06c6d2
1 changed files with 1 additions and 1 deletions
|
@ -378,7 +378,7 @@ class Image
|
||||||
$orientation = $this->image->getImageOrientation();
|
$orientation = $this->image->getImageOrientation();
|
||||||
switch ($orientation) {
|
switch ($orientation) {
|
||||||
case Imagick::ORIENTATION_BOTTOMRIGHT:
|
case Imagick::ORIENTATION_BOTTOMRIGHT:
|
||||||
$this->rotate( 180);
|
$this->rotate(180);
|
||||||
break;
|
break;
|
||||||
case Imagick::ORIENTATION_RIGHTTOP:
|
case Imagick::ORIENTATION_RIGHTTOP:
|
||||||
$this->rotate(-90);
|
$this->rotate(-90);
|
||||||
|
|
Loading…
Add table
Reference in a new issue