mirror of
https://github.com/Intervention/image.git
synced 2025-02-06 22:00:38 +01:00
reset image orientation for Imagick images on init
This commit is contained in:
parent
e6fb391319
commit
ba2e707445
@ -60,6 +60,9 @@ class Source extends \Intervention\Image\AbstractSource
|
||||
// so all images are turned into static
|
||||
$object = $this->removeAnimation($object);
|
||||
|
||||
// reset image orientation
|
||||
$object->setImageOrientation(\Imagick::ORIENTATION_UNDEFINED);
|
||||
|
||||
return new Image(new Driver, $object);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user