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

Advanced options don't work #24

Open
k128 opened this issue Jul 28, 2023 · 1 comment
Open

Advanced options don't work #24

k128 opened this issue Jul 28, 2023 · 1 comment

Comments

@k128
Copy link

k128 commented Jul 28, 2023

Windows 10
Python 3.11.2
pillow_avif_plugin-1.3.1-cp311-cp311-win_amd64.whl

Trying to pass any of the SVT-specific parameters has no effect. I've tried several parameters and ways of passing them. For example, these all produce the same output:
im.save('test.avif',save_all=True,codec='svt')
im.save('test.avif',save_all=True,codec='svt',advanced={'n':2})
im.save('test.avif',save_all=True,codec='svt',advanced={'-n':2})
im.save('test.avif',save_all=True,codec='svt',advanced={'n':'2'})
im.save('test.avif',save_all=True,codec='svt',advanced={'-n':'2'})
im.save('test.avif',save_all=True,codec='svt',n=2)
im.save('test.avif',save_all=True,codec='svt',n=2)

@fdintino
Copy link
Owner

I think that libavif doesn't yet support passing advanced options into the svt codec.

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

2 participants