Skip to content
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

Extend exrstdattr to add -erase option #1688

Merged
merged 3 commits into from
Mar 23, 2024

Conversation

peterhillman
Copy link
Contributor

Add a flag to permit attributes to be removed using exrstdattr, as well as modified or removed. It's also possible to change the type of an attribute, by erasing it and re-inserting it. Some attributes are essential to OpenEXR to write the file correctly. Those are specifically detected and cannot be removed.
test_exrstdattr.py is also extended to check -erase does what it should. I notice that this didn't actually clean up the temporary file it made. Perhaps that should be added too?

peterhillman and others added 3 commits March 22, 2024 18:16
Signed-off-by: Peter Hillman <peterh@wetafx.co.nz>
Signed-off-by: Peter Hillman <peterh@wetafx.co.nz>
Copy link
Member

@cary-ilm cary-ilm left a comment

Choose a reason for hiding this comment

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

LGTM

@cary-ilm cary-ilm merged commit c28c320 into AcademySoftwareFoundation:main Mar 23, 2024
28 checks passed
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