mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-04-16 17:47:52 +00:00
Merge pull request #5463 from BookStackApp/v24-12
v24-12 branch changes
This commit is contained in:
commit
0e343c408f
1 changed files with 4 additions and 1 deletions
|
@ -158,7 +158,10 @@ class ImageResizer
|
|||
*/
|
||||
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
|
||||
// handling since we don't need the added animation support.
|
||||
|
|
Loading…
Add table
Reference in a new issue