What did you do?
Calling Image.open() on a webp file
What did you expect to happen?
The call should be quick
What actually happened?
open() for a webp image actually decodes the webp into rgb !
So open() for a webp image is much slower than open() for a png for instance
The implementation in WebPImagePlugin.py is not efficient at all.
open should call WebPGetInfo or WebPGetFeatures but not WebPDecode !
What versions of Pillow and Python are you using?
Latest pillow (4.1) and python 2.7
What did you do?
Calling Image.open() on a webp file
What did you expect to happen?
The call should be quick
What actually happened?
open() for a webp image actually decodes the webp into rgb !
So open() for a webp image is much slower than open() for a png for instance
The implementation in WebPImagePlugin.py is not efficient at all.
open should call WebPGetInfo or WebPGetFeatures but not WebPDecode !
What versions of Pillow and Python are you using?
Latest pillow (4.1) and python 2.7