المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : السي بانيل Cpanel إيماج ماجيك Imagick لا يدعم تحويل الصور الى webp



Rise Company
14-12-2021, 02:02
السي بانيل Cpanel إيماج ماجيك Imagick لا يدعم تحويل الصور الى webp
imagemagick was likely not compiled with support for webp
How to enable the webp image format for use with ImageMagick on cPanel

https://www.rise.company/upload/uploads/163944009930941.png


المشكلة :

عند استخدام Plugins لتحويل صور Jpg و png الى صيغة webp هناك متطلبات لها لتنفيذ ذلك
وهو ان يكون هناك دعم webp فى imagick او GD فى php وتستطيع التاكد من ذلك من الصورة فى الاعلى
نجد ان imagick لا يدعم webp رغم تثبيته و السبب ان php 7 لا يدuمها عكس الاصدار القديم php 5

CentOS provided package for ImageMagick is not compiled with support for WebP.
If you are using ALT-PHP (CloudLinux provided PHP) with cPanel, it comes with its own version of ImageMagick that was compiled with webp support. Of course, use of ALT-PHP requires the extra cost of a CloudLinux license so this may not be accessible to everyone.

or make use of the ImageMagick package provided by the Remi Repository which is compiled with webp support. Due to the fact that cPanel is not developed or tested in the context of having the Remi Repository installed

https://www.rise.company/upload/uploads/163943963620481.png

حل المشكلة :

استخدام GD فى تحويل الصور او مواقع اخرى تقدم الخدمة من خلال API
او البديل اعادة تثبيت imagick ولكن معدل ولكن يسبب مشاكل كثيرة لذلك لا ننصح بها


المرجع:
https://support.cpanel.net/hc/en-us/articles/4403506784919-How-to-enable-the-webp-image-format-for-use-with-ImageMagick-on-cPanel
https://stackoverflow.com/questions/57223153/add-webp-to-imagemagick-supported-formats-for-php-7-3-on-a-whm-dedicated-server
https://forums.cpanel.net/threads/webp-support.669893/
https://forums.cpanel.net/threads/webp-support.648937/