1
0
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:
Oliver Vogel 2014-05-26 19:54:33 +02:00
parent e6fb391319
commit ba2e707445

View File

@ -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);
}