Error while converting webp image file to jpg in python
This issue has been resolve now. I have install latest libwebp library i,e libwebp-0.4.3 and reinstall pillow.
Here is github issue thread if some one face same issue.
I tested your code with a webp image and it works with Pillow 2.9:
$ wget https://www.gstatic.com/webp/gallery3/2_webp_a.webp
>>> from PIL import Image
>>> im = Image.open("2_webp_a.webp").convert("RGB")
>>> im.save("test.jpg","jpeg")
There's Pillow 3.0 issue #1474 related with your error.
Let's you try to downgrade Pillow from 3.0 to 2.9 and try again.