Skip to content

Fix BC6H_SF decoding error#2

Merged
ShadelessFox merged 3 commits intoShadelessFox:mainfrom
REDxEYE:main
Jul 18, 2022
Merged

Fix BC6H_SF decoding error#2
ShadelessFox merged 3 commits intoShadelessFox:mainfrom
REDxEYE:main

Conversation

@REDxEYE
Copy link
Copy Markdown

@REDxEYE REDxEYE commented Jul 18, 2022

Fixes python-pillow#6344 case with signed float format.

Decoding error were caused by additional sign extend call after endpoint
transform, according to khronos documentation, you only suppose to sign
extend endpoints only once, further calls to sign extend mangles
endpoint data.

Changes proposed in this pull request:

  • Remove unneded sign extention call in BC6 decoding function

REDxEYE added 3 commits July 18, 2022 20:38
Decoding error were caused by additional sign extend call after endpoint
transform, according to khronos documentation, you only suppose to sign
extend endpoints only once, further calls to sign extend mangles
endpoint data.
@ShadelessFox ShadelessFox merged commit efe48ac into ShadelessFox:main Jul 18, 2022
radarhere pushed a commit that referenced this pull request Aug 2, 2022
Check that orientation is still absent after reloading Exif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DDS BC6 decoding has a broken blue channel

2 participants