https://bugs.kde.org/show_bug.cgi?id=487008
--- Comment #5 from Oliver Beard <[email protected]> --- Git commit 958c0ecca1101e8fdace6464203a773906765a37 by Oliver Beard. Committed on 18/02/2026 at 13:12. Pushed by olib into branch 'master'. fileinfo, exiv2extractor: Apply image rotation when getting image size When using QImageReader::size() to get the size of an image via metadata, any rotation in the image's metadata is not respected, making the size wrong. QImageReader::setAutoTransform(true) works if we read the image into a QImage and use that, but since it's cheaper to try the metadata first, we should use metadata and handle the rotation ourselves. Code in Exiv2Extractor has also been changed to do the same thing as FileInfo, trying image metadata first (and correctly with respect to rotation) before reading the image. M +23 -5 src/exiv2extractor.cpp M +14 -0 src/fileinfo.cpp https://invent.kde.org/graphics/koko/-/commit/958c0ecca1101e8fdace6464203a773906765a37 -- You are receiving this mail because: You are watching all bug changes.
