mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2026-08-26 08:26:59 -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Å���yk】g��リレ靑ワ��qu∫靑�騾゚瞿鰀フ�ヨ轢�縲リ�レ鋓ヨ�胄�ⅷ縲胄騾�リ鵆リ��|÷÷÷÷÷÷×~+zÅ���yk】g��リレ靑ワ��qu∫靑�騾゚瞿鰀フ�ヨ轢�縲リ�レ鋓ヨ�胄�ⅷ縲胄騾�リ鵆リ��|÷÷÷÷÷×~{l▲�|」メp輙ィ�%ィ�l�-゚ウ6�D�bケ凍釮ヘナリtヲ�$レ4h械U4ハ<>ミ>+仍\ェ噫�\_ヲs棯-i゚=\盖オ�|÷÷÷÷×~{l▲�|」メp輙ィ�%ィ�l�-゚ウ6�D�bケ凍釮ヘナリtヲ�$レ4h械U4ハ<>ミ>+仍\ェ噫�\_ヲs棯-i゚=\盖オ�|÷÷÷÷+zヾJ�=/�i逗<�I |