https://bugs.kde.org/show_bug.cgi?id=433877
Albert Astals Cid <aa...@kde.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit| |https://invent.kde.org/fram | |eworks/kimageformats/commit | |/503b3eee2b3ed599310e1e6e41 | |e74398f53a6303 Status|REPORTED |RESOLVED Resolution|--- |FIXED --- Comment #2 from Albert Astals Cid <aa...@kde.org> --- Git commit 503b3eee2b3ed599310e1e6e41e74398f53a6303 by Albert Astals Cid, on behalf of Fred Fonkle. Committed on 04/03/2021 at 21:57. Pushed by aacid into branch 'master'. Fix Non-square Radiance/RGBE/.hdr images failing to load The HDR QImageIOHandler plugin only supports the default image orientation (-Y +X) in .hdr files. It mixes up the width and height however, resulting in non-square images not loading. This fix adds a check for the standard image orientation in the file and returns false (with error message) if that fails. If it succeeds, it takes the height from the -Y component, and the width from the +X component, resulting in successful loading of the image. Add autotest images for landscape and portrait HDR (Radiance RGBE) loader A +- -- autotests/read/hdr/rgb-landscape.hdr A +- -- autotests/read/hdr/rgb-landscape.png A +- -- autotests/read/hdr/rgb-portrait.hdr A +- -- autotests/read/hdr/rgb-portrait.png M +9 -2 src/imageformats/hdr.cpp https://invent.kde.org/frameworks/kimageformats/commit/503b3eee2b3ed599310e1e6e41e74398f53a6303 -- You are receiving this mail because: You are watching all bug changes.