Closed MikiP98 closed 4 weeks ago
You are trying to save an image that is 22880 x 16128.
https://developers.google.com/speed/webp/faq
The maximum pixel dimensions of a WebP image is 16383 x 16383.
I'm sorry to waste your time then.
I still think the error message should be improved.
It can be catched and rewriten as something like:
The image is too big for the WEBP format
I will keep this open for now.
I've created #8322 to update the error message to "encoding error 5: Image size exceeds WebP limit"
What did you do?
I tried to save an 4x upscaled image with WEBP format exceeding the WEBP image size limit
What did you expect to happen?
I expected the image to be savedThe error message should be more informative, it should say something likeThe image is too big for the WEBP format
What actually happened?
Program crashed with:
What are your OS, Python and Pillow versions?