fix orientation in image-backend, not in preview system itself

This commit is contained in:
Georg Ehrke 2014-07-09 23:07:58 +02:00
parent 404ac8bcd3
commit 380aacdf93
2 changed files with 1 additions and 2 deletions

View File

@ -556,8 +556,6 @@ class Preview {
return;
}
$image->fixOrientation();
$realX = (int)$image->width();
$realY = (int)$image->height();

View File

@ -29,6 +29,7 @@ class Image extends Provider {
$fileName = $fileview->getLocalFile($path);
}
$image->loadFromFile($fileName);
$image->fixOrientation();
return $image->valid() ? $image : false;
}