Merge pull request #5463 from BookStackApp/v24-12
v24-12 branch changes
This commit is contained in:
commit
0e343c408f
|
@ -158,7 +158,10 @@ class ImageResizer
|
||||||
*/
|
*/
|
||||||
protected function interventionFromImageData(string $imageData, ?string $fileType): InterventionImage
|
protected function interventionFromImageData(string $imageData, ?string $fileType): InterventionImage
|
||||||
{
|
{
|
||||||
$manager = new ImageManager(new Driver());
|
$manager = new ImageManager(
|
||||||
|
new Driver(),
|
||||||
|
autoOrientation: false,
|
||||||
|
);
|
||||||
|
|
||||||
// Ensure gif images are decoded natively instead of deferring to intervention GIF
|
// Ensure gif images are decoded natively instead of deferring to intervention GIF
|
||||||
// handling since we don't need the added animation support.
|
// handling since we don't need the added animation support.
|
||||||
|
|
Loading…
Reference in New Issue