mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2025-05-28 00:30:23 -04:00
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 BUGS: 433877 |
||
---|---|---|
.. | ||
ani | ||
pic | ||
read | ||
write | ||
anitest.cpp | ||
CMakeLists.txt | ||
long-runs.pic | ||
pictest.cpp | ||
readtest.cpp | ||
writetest.cpp |