sismics / docs

Lightweight document management system packed with all the features you can expect from big expensive solutions
https://teedy.io
GNU General Public License v2.0
1.97k stars 489 forks source link

Thumbnail creation not respecting EXIF rotation #461

Open grischaerbe opened 4 years ago

grischaerbe commented 4 years ago

Uploading an image that is rotated/oriented via EXIF data (such as images from my Samsung Galaxy S10+) results in a thumbnail that is in a different orientation. OCR also fails then.

Varusal commented 3 years ago

Have the exact same issue. I rotated all my images so the OCR would work but rotation will be ignored which is quite annoying. Guess the only workaround is to convert those images to PDF?

Also, is there a way to bulk delete all documents?

alexanderadam commented 2 years ago

If I understand this correctly, Scalr / imgscalr should handle this properly if not overridden by some options (i.e. Mode.FIT_EXACT, Mode.FIT_TO_WIDTH or Mode.FIT_TO_HEIGHT).

But Teedy is rotating on its own again for some reason. 🤔

PS: This repository should be renamed to teedy_dms or so.