Bug 493831 - Okular Unable to Render AVIF Images Properly, Directly from ZIP Containers
Summary: Okular Unable to Render AVIF Images Properly, Directly from ZIP Containers
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: Image backend components (show other bugs)
Version: 24.08.1
Platform: Arch Linux Linux
: NOR major
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-29 13:09 UTC by okudono
Modified: 2024-10-22 12:09 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Test_Material.jpg is inside. follow steps to reproduce (1.30 MB, application/zip)
2024-09-29 13:09 UTC, okudono
Details

Note You need to log in before you can comment on or make changes to this bug.
Description okudono 2024-09-29 13:09:41 UTC
Created attachment 174203 [details]
Test_Material.jpg is inside. follow steps to reproduce

SUMMARY:
--------

Okular is unable to render AVIF images directly from within a ZIP container, but it can render them correctly when the images are extracted. This suggests a potential issue with Okular's handling of ZIP containers with AVIF images within them.

STEPS TO REPRODUCE
1. `avifenc Test_Material.jpg Test_Material.avif`
2. zip it through cmdline or from middle click window `Compress > Compress to "Test_Material.zip"`
3. open the zip file with okular and see that the image is being extremely enlarged (vertically)
4. open context window with middle click and "Extract here" then open the folder with okular and it will render the avif image properly.
5. try opening the `Test_Material.zip` that has the avif image in it with MPV and MPV wont have any issues with it.

OBSERVED RESULT

Okular renders an extremely enlarged (vertically) image

EXPECTED RESULT

Okular should render AVIF files without any issues.

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Arch + Plasma 6.1.5
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.2
Comment 1 dnovomesky 2024-10-22 12:09:43 UTC
Can you upload your compressed file and the screenshot what exactly do you see wrong on your side?