Bug 497516

Summary: Lossless JXL files transcoded from PNG sometimes render incorrectly
Product: [Frameworks and Libraries] frameworks-kimageformats Reporter: Alastor Tenebris <livingnightmare>
Component: generalAssignee: Alex Merry <alex.merry>
Status: RESOLVED FIXED    
Severity: normal CC: aacid, kdelibs-bugs-null
Priority: NOR    
Version First Reported In: 6.8.0   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Gwenview vs Eye of Gnome
The original PNG
The converted JXL file

Description Alastor Tenebris 2024-12-15 18:38:23 UTC
Created attachment 176656 [details]
Gwenview vs Eye of Gnome

SUMMARY
JXL files that have been converted from PNGs sometimes render zoomed in and distorted

STEPS TO REPRODUCE
1. Open a JXL file

OBSERVED RESULT
The image is distorted

EXPECTED RESULT
The image render correctly

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora KDE 41
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.1

ADDITIONAL INFORMATION
This result can also be reproduced in the latest flatpak release.
Comment 1 Alastor Tenebris 2024-12-15 18:39:05 UTC
Created attachment 176657 [details]
The original PNG
Comment 2 Alastor Tenebris 2024-12-15 18:39:29 UTC
Created attachment 176658 [details]
The converted JXL file
Comment 3 Alastor Tenebris 2024-12-16 05:04:36 UTC
Updating to Frameworks 6.9.0 fixed it.