mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2026-05-25 13:08:28 -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
12 lines
8.1 KiB
Plaintext
Executable File
12 lines
8.1 KiB
Plaintext
Executable File
#?RADIANCE
|
||
SOFTWARE=GEGL
|
||
FORMAT=32-bit_rle_rgbe
|
||
|
||
-Y 32 +X 64
|
||
÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷×~+zÅ<C280><EFBFBD><C280>yk】g<C280><67>リレ靑ワ<C280><EFBE9C>qu∫靑<E99D91>騾゚瞿鰀フ<EFBE8C>ヨ轢<EFBE96>縲リ<E7B8B2>レ鋓ヨ<C280>胄<C280>ⅷ縲胄騾<E88384>リ鵆リ<EFBE98><C280>|÷÷÷÷÷÷×~+zÅ<C280><EFBFBD><C280>yk】g<C280><67>リレ靑ワ<C280><EFBE9C>qu∫靑<E99D91>騾゚瞿鰀フ<EFBE8C>ヨ轢<EFBE96>縲リ<E7B8B2>レ鋓ヨ<C280>胄<C280>ⅷ縲胄騾<E88384>リ鵆リ<EFBE98><C280>|÷÷÷÷÷×~{l▲<C280>|」メp輙ィ<C280>%ィ<C280>l<C280>-゚ウ6<C280>D<C280>bケ凍釮ヘナリtヲ<7F>$レ4h械U4ハ<>ミ>+仍\ェ噫<EFBDAA>\_ヲs棯-i゚=\盖オ<C280>|÷÷÷÷×~{l▲<C280>|」メp輙ィ<C280>%ィ<C280>l<C280>-゚ウ6<C280>D<C280>bケ凍釮ヘナリtヲ<7F>$レ4h械U4ハ<>ミ>+仍\ェ噫<EFBDAA>\_ヲs棯-i゚=\盖オ<C280>|÷÷÷÷+zヾJ<4A>=/<2F>i逗<<3C>I |