Closed denno020 closed 6 years ago
Hi @jdecool, thanks for pointing that out!
I wasn't sure the best way to detect WebP support in PHP, so as you'll notice, I'm using gd_info()
to check the supported image types.
If there is already this check taking place somewhere else inside the application then please point that out and I'll update further to use that too.
Thanks!
Great ! Thanks for your contribution
No worries at all, glad I could help :)
Hi @denno020, thanks for your contribution.
Current master branch is compatible with PHP 5.3 and 5.4 which are not support webp format.
Could you throw an exception if the function doesn't exists ?