Skip to content

Fix wrong oiio:UnassociatedAlpha metadata for PSD files #3750

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

brechtvl
Copy link
Contributor

@brechtvl brechtvl commented Jan 9, 2023

Description

Refactoring in #1641 incorrectly caused this to be set on the last layer rather than the composite image as before. Now set it on the composite image and every layer, as all of them use unassociated alpha.

Tests

Test was added.

Checklist:

  • I have read the contribution guidelines.
  • If this is more extensive than a small change to existing code, I
    have previously submitted a Contributor License Agreement
    (individual, and if there is any way my
    employers might think my programming belongs to them, then also
    corporate).
  • I have updated the documentation, if applicable.
  • I have ensured that the change is tested somewhere in the testsuite
    (adding new test cases if necessary).
  • My code follows the prevailing code style of this project.

Refactoring in AcademySoftwareFoundation#1641 incorrectly caused this to be set on the last layer
rather than the composite image as before. Now set it on the composite
image and every layer, as all of them use unassociated alpha.
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, thanks for the fix!

@lgritz lgritz merged commit dfb086e into AcademySoftwareFoundation:master Jan 9, 2023
lgritz pushed a commit to lgritz/OpenImageIO that referenced this pull request Jan 12, 2023
…oundation#3750)

Refactoring in AcademySoftwareFoundation#1641 incorrectly caused this to be set on the last layer
rather than the composite image as before. Now set it on the composite
image and every layer, as all of them use unassociated alpha.
@brechtvl brechtvl deleted the fix-psd-unassociated branch May 27, 2023 22:32
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