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

ValueError: Invalid codec: rav1e #25

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

ValueError: Invalid codec: rav1e #25

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

I get the following error trying to use rav1e to save:

>>> im.save('rav.avif',save_all=True,codec='rav1e')

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Program Files\Python311\Lib\site-packages\PIL\Image.py", line 2413, in save
    save_handler(self, fp, filename)
  File "C:\Program Files\Python311\Lib\site-packages\pillow_avif\AvifImagePlugin.py", line 111, in _save_all
    _save(im, fp, filename, save_all=True)
  File "C:\Program Files\Python311\Lib\site-packages\pillow_avif\AvifImagePlugin.py", line 184, in _save
    enc = _avif.AvifEncoder(
          ^^^^^^^^^^^^^^^^^^
@fdintino
Copy link
Owner

You're getting this issue because I'm not currently bundling rav1e in the windows wheels. But I plan to do so in the next point release.

@fdintino fdintino closed this as completed Jul 8, 2024
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