• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Question imagick php with webp support

python

Regular Pleskian
Hi, I need to create webp image formats from php, I currently use ImageMagick 6.7.8-9 2016-06-16 Q16 with its imaginick extension for php, but it does not support webp.

I need help to be able to update to the latest version of imagickMagick with support for webp with its imaginick extension for php.

can someone help me, I use php 7.2.10 would be for a centos 7.

regards
 
I've done this before and its not exactly easy. First you need to build dummy imagick rpms for every version of plesk's PHP (E.g. plesk-php70-imagick-7.0.99-noop.x86_64) with a .99 version so that plesk won't install their own versions on every upgrade. Then you need to use rpmbuild to build the latest ImageMagick patching it first for WebP (libwebp) support.

See for an example. This works with the latest verison:
ImageMagick 6.7.8 with WebP (libwebp) support on CentOS 7

Expect to spend at least an hour or two to get this all working.
 
Back
Top