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…
Reference in a new issue