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

DWAA/DWAB Compressions #38

Open
Jovp opened this issue Jan 15, 2025 · 0 comments
Open

DWAA/DWAB Compressions #38

Jovp opened this issue Jan 15, 2025 · 0 comments

Comments

@Jovp
Copy link

Jovp commented Jan 15, 2025

Would be great to create the DWAA and DWAB compression constants to be used when writing files

For now one needs to do:
pyexr.write(path,data,precision,compression=Imath.Compression(Imath.Compression.DWAB_COMPRESSION),extra_headers={"dwaCompressionLevel":50.0})
to be able to use these.
Also note the compression level header, maybe this could be made an argument.

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

No branches or pull requests

1 participant