• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question ImageMagick 6.7.8 with WebP (libwebp) support on CentOS 7.7.1908

Jaco

New Pleskian
Hello,
I found this on github.
I edited it to my centos version and a few more things and installed a total of 15 minutes on the server.
Its working Perfect!!
Have a nice day everyone.
Greetings
Jaco

yum -y install bzip2-devel libtiff-devel giflib-devel ghostscript-devel libwmf-devel jasper-devel libtool-ltdl-devel libXext-devel libXt-devel librsvg2-devel OpenEXR-devel libwebp-devel lcms2-devel

rpm -ivh http://vault.centos.org/7.7.1908/os/Source/SPackages/ImageMagick-6.7.8.9-18.el7.src.rpm
sed -i '/BuildRequires:\tghostscript-devel/a BuildRequires:\tlibwebp-devel' /root/rpmbuild/SPECS/ImageMagick.spec
sed -i '/Requires: pkgconfig/a Requires: libwebp' /root/rpmbuild/SPECS/ImageMagick.spec

rpmbuild -ba /root/rpmbuild/SPECS/ImageMagick.spec

# actual install
rpm -Uvh --force /root/rpmbuild/RPMS/x86_64/ImageMagick-6.7.8.9-18.el7.x86_64.rpm

# if you to disable updates from CentOS repository
yum-config-manager --save --setopt=updates.exclude=ImageMagick*;

# verify WebP support via:
identify -list format
 

Attachments

  • webp.jpg
    webp.jpg
    165 KB · Views: 59
Last edited:
and also on a old Centos 6.10 (final) its working perfect

here is the code:

yum -y install bzip2-devel libtiff-devel giflib-devel ghostscript-devel libwmf-devel jasper-devel libtool-ltdl-devel libXext-devel libXt-devel librsvg2-devel OpenEXR-devel libwebp-devel lcms2-devel lcms-devel

rpm -ivh http://vault.centos.org/6.10/os/Source/SPackages/ImageMagick-6.7.2.7-6.el6.src.rpm
sed -i '/BuildRequires:\tghostscript-devel/a BuildRequires:\tlibwebp-devel' /root/rpmbuild/SPECS/ImageMagick.spec
sed -i '/Requires: pkgconfig/a Requires: libwebp' /root/rpmbuild/SPECS/ImageMagick.spec

rpmbuild -ba /root/rpmbuild/SPECS/ImageMagick.spec

# actual install
rpm -Uvh --force /root/rpmbuild/RPMS/x86_64/ImageMagick-6.7.2.7-6.el6.x86_64.rpm
# if you to disable updates from CentOS repository
yum-config-manager --save --setopt=updates.exclude=ImageMagick*;

# verify WebP support via:
identify -list format
 

Attachments

  • centos6.10 without webp.jpg
    centos6.10 without webp.jpg
    166.8 KB · Views: 24
  • centos6.10 with webp.jpg
    centos6.10 with webp.jpg
    172.3 KB · Views: 24
No, sorry i need to enable it in imagick like in picture above from Jaco... (imagick supported formats)
I have Plesk Obsidian 18.0.35 and Ubuntu 18.04.5 LTS...
 
Thx but, already done this, this only installs second ImageMagick and not plesk php imagick module...
I think i have to replace or recompile ImageMagick which is already installed under /usr/include/ImageMagick-6
and then recompile plesk php imagick modul.... ?
 
If you are missing the PHP imagick module in PHP 8: It's not available for PHP 8 in many environments.
 
Also need more information on this. I successfully instlaled imagick with webP but plesk php version seems still to use the "old"/own version of imagick. I have no idea how to change this.
 
Can someone Help on this with Ubuntu ? Thanks
We need to recompile imagick plesk php extensions with webp support, but how?
 
Back
Top