Skip to content

Conversation

@jessey-git
Copy link
Contributor

Description

Similar to other formats like PNG, make WEBP respect the oiio:UnassociatedAlpha attribute value in case client applications are already handling the alpha association themselves.

Tests

Unsure how best to test this?

Checklist:

  • I have read the contribution guidelines.
  • I have updated the documentation, if applicable. (Check if there is no
    need to update the documentation, for example if this is a bug fix that
    doesn't change the API.)
  • I have ensured that the change is tested somewhere in the testsuite
    (adding new test cases if necessary).
  • If I added or modified a C++ API call, I have also amended the
    corresponding Python bindings (and if altering ImageBufAlgo functions, also
    exposed the new functionality as oiiotool options).
  • My code follows the prevailing code style of this project. If I haven't
    already run clang-format before submitting, I definitely will look at the CI
    test that runs clang-format and fix anything that it highlights as being
    nonconforming.

Signed-off-by: Jesse Yurkovich <[email protected]>
Copy link
Collaborator

@lgritz lgritz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lgritz lgritz merged commit 01392e6 into AcademySoftwareFoundation:main May 18, 2025
30 checks passed
scott-wilson pushed a commit to scott-wilson/OpenImageIO that referenced this pull request May 18, 2025
…ftwareFoundation#4770)

Similar to other formats like PNG, make WEBP respect the
`oiio:UnassociatedAlpha` attribute value in case client applications are
already handling the alpha association themselves.

---------

Signed-off-by: Jesse Yurkovich <[email protected]>
Signed-off-by: Scott Wilson <[email protected]>
lgritz pushed a commit to lgritz/OpenImageIO that referenced this pull request May 19, 2025
…ftwareFoundation#4770)

Similar to other formats like PNG, make WEBP respect the
`oiio:UnassociatedAlpha` attribute value in case client applications are
already handling the alpha association themselves.

---------

Signed-off-by: Jesse Yurkovich <[email protected]>
@jessey-git jessey-git deleted the webp-unassoc branch June 23, 2025 00:24
zachlewis pushed a commit to zachlewis/OpenImageIO that referenced this pull request Aug 1, 2025
…ftwareFoundation#4770)

Similar to other formats like PNG, make WEBP respect the
`oiio:UnassociatedAlpha` attribute value in case client applications are
already handling the alpha association themselves.

---------

Signed-off-by: Jesse Yurkovich <[email protected]>
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.

2 participants