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

cannot write mode P as WEBP #89

Open
chadsaun opened this issue Mar 10, 2021 · 0 comments
Open

cannot write mode P as WEBP #89

chadsaun opened this issue Mar 10, 2021 · 0 comments

Comments

@chadsaun
Copy link

I have a .png image that is throwing this error:

cannot write mode P as WEBP

from the line with self.image.save in Willow:

    @Image.operation
    def save_as_webp(self, f, quality=80, lossless=False):
        self.image.save(f, 'WEBP', quality=quality, lossless=lossless) …
        return WebPImageFile(f)

Screen Shot 2021-03-10 at 4 20 31 PM

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