Reputation: 53
The function imagecreatefromwebp()
does not exist in my php(GD)
library. imagecreatefromjpeg()
and other functions work fine. I need to enable something specific to imagecreatefromwebp()
.
GD2 is already installed on Debian with some of the modules installed.
How do I enable support for imagecreatefromwebp()?
EDIT: This link seems helpful->http://php.net/manual/en/image.installation.php couldn't understand it completely, it seems specifically for the (new)installation
Upvotes: 0
Views: 2508
Reputation: 356
I was researched in the web and the answer is you should reinstall php again with --with-vpx-dir=DIR option.
Please see this question, there described probably the same problem as you have
How to compile php to enable webp support?
Upvotes: 1