feat(webp): Respect the oiio:UnassociatedAlpha attribute#4770
Merged
Conversation
Signed-off-by: Jesse Yurkovich <jesse.y@gmail.com>
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 <jesse.y@gmail.com> Signed-off-by: Scott Wilson <scott@propersquid.com>
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 <jesse.y@gmail.com>
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 <jesse.y@gmail.com>
brechtvl
added a commit
to brechtvl/oiio
that referenced
this pull request
Jan 29, 2026
Like other file formats, the returned ImageSpec should indicate if the image contains unassociated alpha. This was an oversight in AcademySoftwareFoundation#4770. Signed-off-by: Brecht Van Lommel <brecht@blender.org>
6 tasks
lgritz
pushed a commit
that referenced
this pull request
Jan 29, 2026
Like other file formats, the returned ImageSpec should indicate if the image contains unassociated alpha. This was an oversight in #4770. Test added. Signed-off-by: Brecht Van Lommel <brecht@blender.org>
lgritz
pushed a commit
to lgritz/OpenImageIO
that referenced
this pull request
Jan 30, 2026
…undation#5020) Like other file formats, the returned ImageSpec should indicate if the image contains unassociated alpha. This was an oversight in AcademySoftwareFoundation#4770. Test added. Signed-off-by: Brecht Van Lommel <brecht@blender.org>
ssh4net
pushed a commit
to ssh4net/OpenImageIO
that referenced
this pull request
Feb 24, 2026
…undation#5020) Like other file formats, the returned ImageSpec should indicate if the image contains unassociated alpha. This was an oversight in AcademySoftwareFoundation#4770. Test added. Signed-off-by: Brecht Van Lommel <brecht@blender.org> Signed-off-by: Vlad (Kuzmin) Erium <libalias@gmail.com>
ssh4net
pushed a commit
to ssh4net/OpenImageIO
that referenced
this pull request
Apr 1, 2026
…undation#5020) Like other file formats, the returned ImageSpec should indicate if the image contains unassociated alpha. This was an oversight in AcademySoftwareFoundation#4770. Test added. Signed-off-by: Brecht Van Lommel <brecht@blender.org> Signed-off-by: Vlad <shaamaan@gmail.com>
ssh4net
pushed a commit
to ssh4net/OpenImageIO
that referenced
this pull request
Apr 2, 2026
…undation#5020) Like other file formats, the returned ImageSpec should indicate if the image contains unassociated alpha. This was an oversight in AcademySoftwareFoundation#4770. Test added. Signed-off-by: Brecht Van Lommel <brecht@blender.org> Signed-off-by: Vlad (Kuzmin) Erium <libalias@gmail.com>
ssh4net
pushed a commit
to ssh4net/OpenImageIO
that referenced
this pull request
Apr 2, 2026
…undation#5020) Like other file formats, the returned ImageSpec should indicate if the image contains unassociated alpha. This was an oversight in AcademySoftwareFoundation#4770. Test added. Signed-off-by: Brecht Van Lommel <brecht@blender.org> Signed-off-by: Vlad (Kuzmin) Erium <libalias@gmail.com>
ssh4net
pushed a commit
to ssh4net/OpenImageIO
that referenced
this pull request
Apr 2, 2026
…undation#5020) Like other file formats, the returned ImageSpec should indicate if the image contains unassociated alpha. This was an oversight in AcademySoftwareFoundation#4770. Test added. Signed-off-by: Brecht Van Lommel <brecht@blender.org> Signed-off-by: Vlad (Kuzmin) Erium <libalias@gmail.com> Signed-off-by: Vlad <shaamaan@gmail.com>
ssh4net
pushed a commit
to ssh4net/OpenImageIO
that referenced
this pull request
Apr 2, 2026
…undation#5020) Like other file formats, the returned ImageSpec should indicate if the image contains unassociated alpha. This was an oversight in AcademySoftwareFoundation#4770. Test added. Signed-off-by: Brecht Van Lommel <brecht@blender.org> Signed-off-by: Vlad (Kuzmin) Erium <libalias@gmail.com> Signed-off-by: Vlad <shaamaan@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Similar to other formats like PNG, make WEBP respect the
oiio:UnassociatedAlphaattribute value in case client applications are already handling the alpha association themselves.Tests
Unsure how best to test this?
Checklist:
need to update the documentation, for example if this is a bug fix that
doesn't change the API.)
(adding new test cases if necessary).
corresponding Python bindings (and if altering ImageBufAlgo functions, also
exposed the new functionality as oiiotool options).
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.