mirror of
https://github.com/nextcloud/server.git
synced 2026-04-25 08:08:33 -04:00
Merge pull request #35689 from pulsejet/patch-heicrotate
preview: fix HEIC orientation
This commit is contained in:
commit
4aafba68b4
1 changed files with 3 additions and 0 deletions
|
|
@ -115,6 +115,9 @@ class HEIC extends ProviderV2 {
|
|||
// Layer 0 contains either the bitmap or a flat representation of all vector layers
|
||||
$bp->readImage($tmpPath . '[0]');
|
||||
|
||||
// Fix orientation from EXIF
|
||||
$bp->autoOrient();
|
||||
|
||||
$bp->setImageFormat('jpg');
|
||||
|
||||
$bp = $this->resize($bp, $maxX, $maxY);
|
||||
|
|
|
|||
Loading…
Reference in a new issue