kimageformats/autotests/read/hdr
Fred Fonkle 503b3eee2b 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

BUGS: 433877
2021-03-04 22:57:23 +01:00
..
rgb-landscape.hdr Fix Non-square Radiance/RGBE/.hdr images failing to load 2021-03-04 22:57:23 +01:00
rgb-landscape.png Fix Non-square Radiance/RGBE/.hdr images failing to load 2021-03-04 22:57:23 +01:00
rgb-portrait.hdr Fix Non-square Radiance/RGBE/.hdr images failing to load 2021-03-04 22:57:23 +01:00
rgb-portrait.png Fix Non-square Radiance/RGBE/.hdr images failing to load 2021-03-04 22:57:23 +01:00
rgb.hdr Port HDR (Radiance RGBE) image loader to Qt5 2019-09-14 14:05:30 +02:00
rgb.png Port HDR (Radiance RGBE) image loader to Qt5 2019-09-14 14:05:30 +02:00