Summary: | Okular does not respect EXIF orientation tag inside comicbook archives | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | 2wxsy58236r3 |
Component: | Comicbook backend | Assignee: | Okular developers <okular-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | aacid, nate |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/kde/okular/commit/4019ec56e57624137ff11bb86920894a4fdd80d3 | Version Fixed In: | 20.04.0 |
Sentry Crash Report: | |||
Attachments: | Test files (Smaller file size) |
Description
2wxsy58236r3
2019-08-10 04:50:16 UTC
Please attach some files to reproduce this issue The test files are too big so please download them using the below link: https://send.firefox.com/download/f8faa5678c25aad9/#vIFG3oZUTaED9mRXCs925Q Also please refer to the updated steps to reproduce below: 1. A photo is taken in a wrong orientation. 2. Use exiftool (e.g. `exiftool -orientation=3 -n test.jpg`) to tag the correct orientation. 3. Observe that Gwenview displays test.jpg correctly. 4. Compress test.jpg into a ZIP archive and then rename it to .cbz. 5. Open test.cbz using Okular and observe that the image is displayed in the wrong orientation. Ah you mean inside comicbook archives, if you open file.jpg it'll be shown correctly. Are you ok if i use that image for an autotest so that it won't break again? Created attachment 126518 [details]
Test files (Smaller file size)
I am attaching a new set of test files with a smaller file size - I hope these will be suitable for autotests.
Git commit 4019ec56e57624137ff11bb86920894a4fdd80d3 by Albert Astals Cid. Committed on 04/03/2020 at 19:07. Pushed by aacid into branch 'master'. comicbook: Obey autotransform of images M +15 -6 generators/comicbook/CMakeLists.txt A +61 -0 generators/comicbook/autotests/comicbooktest.cpp [License: GPL (v2+)] A +- -- generators/comicbook/autotests/data/rotated_cb.cbz M +11 -2 generators/comicbook/document.cpp M +0 -2 generators/comicbook/generator_comicbook.cpp https://invent.kde.org/kde/okular/commit/4019ec56e57624137ff11bb86920894a4fdd80d3 |