Answers.Body: <p>So, by the looks of it I'm a little dumb and didn't find this article on how to work around that issue. If you have this issue using cPanel this will help you out.</p>
  <p>Short version:</p>
  <blockquote>
  <p>When using EA-PHP, (cPanel provided PHP) the ImageMagick PHP PECL extension uses the ImageMagick RPM package that is provided by the CentOS repository. This CentOS provided ImageMagick package is not compiled with webp support, so it is not possible to use the webp format with ImageMagick and EA-PHP in an officially supported way.</p>
  </blockquote>
  <p>Full article:
  <a href="https://support.cpanel.net/hc/en-us/articles/4403506784919-How-to-enable-the-webp-image-format-for-use-with-ImageMagick-on-cPanel?_ga=2.96171419.647980108.1668719515-1794719862.1668218792" rel="nofollow noreferrer">How to enable the webp image format for use with ImageMagick on cPanel</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-11-17T23:57:34.753Z
Answers.LastActivityDate: 2022-12-01T15:30:14.503Z
Answers.LastEditDate: 2022-12-01T15:30:14.503Z
Answers.UserDisplayName: Dave
Body: <p>I have already done some research and have not found anything related to my specific problem.</p>
  <p>Quite some time ago I installed Imagick on my VPS and thus enabled the use of the Webp image format in the image transformations (Also selectable in the dropdown menu when setting up a transformation). The project I set it up for is still running on Craft 3 and the webp transforms still work fine.</p>
  <p><a href="https://i.sstatic.net/lU1HK.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/lU1HK.png" alt="enter image description here" /></a></p>
  <p>Now I have multiple Craft 3/4 projects set up on the same server, and although &quot;Webp Support&quot; is enabled in CP &gt; PHP Info, only jpg, png and gif can be selected as the format in the transforms.</p>
  <p><a href="https://i.sstatic.net/HJFvH.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/HJFvH.png" alt="enter image description here" /></a></p>
  <p>For all Craft installations (whether v3 or v4) this info applies:</p>
  <ul>
  <li>PHP version: 8.0.25</li>
  <li>Image driver &amp; version: Imagick 3.7.0 (ImageMagick 6.9.10-68)</li>
  <li>WebP Support: Enabled</li>
  <li>System requirements: All checked</li>
  </ul>
  <p>Am I missing something obvious? I also don't remember setting up anything special in the installation where it works fine.</p>
  <p>If any other info is needed, I'll be happy to provide it. :)</p>
  <p><strong>Edit</strong>: Looking at PHP Info in CP again, I noticed that &quot;WEBP&quot; is not listed in &quot;ImageMagick supported formats&quot;. This applies to all installations, including the one where webp is shown as a format option in the transformations dropdown and it's just working fine.</p>
  <p><a href="https://i.sstatic.net/izI99.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/izI99.png" alt="enter image description here" /></a></p>
  
Tags: <craft3><craft4><imagick>
Title: Webp not available in image transformations although set up
ThreadText: # Webp not available in image transformations although set up
  
  (Asked by: username_0 on 2022-11-16)
  
  I have already done some research and have not found anything related to my specific problem.
  
  Quite some time ago I installed Imagick on my VPS and thus enabled the use of the Webp image format in the image transformations (Also selectable in the dropdown menu when setting up a transformation). The project I set it up for is still running on Craft 3 and the webp transforms still work fine.
  
  [![enter image description here](https://i.sstatic.net/lU1HK.png)](https://i.sstatic.net/lU1HK.png)
  
  Now I have multiple Craft 3/4 projects set up on the same server, and although "Webp Support" is enabled in CP > PHP Info, only jpg, png and gif can be selected as the format in the transforms.
  
  [![enter image description here](https://i.sstatic.net/HJFvH.png)](https://i.sstatic.net/HJFvH.png)
  
  For all Craft installations (whether v3 or v4) this info applies:
  
  * PHP version: 8.0.25
  * Image driver & version: Imagick 3.7.0 (ImageMagick 6.9.10-68)
  * WebP Support: Enabled
  * System requirements: All checked
  
  Am I missing something obvious? I also don't remember setting up anything special in the installation where it works fine.
  
  If any other info is needed, I'll be happy to provide it. :)
  
  **Edit**: Looking at PHP Info in CP again, I noticed that "WEBP" is not listed in "ImageMagick supported formats". This applies to all installations, including the one where webp is shown as a format option in the transformations dropdown and it's just working fine.
  
  [![enter image description here](https://i.sstatic.net/izI99.png)](https://i.sstatic.net/izI99.png)
  
  **Tags:** craft3, craft4, imagick
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2022-11-17. Score: 1 | Accepted answer
  
  So, by the looks of it I'm a little dumb and didn't find this article on how to work around that issue. If you have this issue using cPanel this will help you out.
  
  Short version:
  
  > When using EA-PHP, (cPanel provided PHP) the ImageMagick PHP PECL extension uses the ImageMagick RPM package that is provided by the CentOS repository. This CentOS provided ImageMagick package is not compiled with webp support, so it is not possible to use the webp format with ImageMagick and EA-PHP in an officially supported way.
  
  Full article:
  [How to enable the webp image format for use with ImageMagick on cPanel](https://support.cpanel.net/hc/en-us/articles/4403506784919-How-to-enable-the-webp-image-format-for-use-with-ImageMagick-on-cPanel?_ga=2.96171419.647980108.1668719515-1794719862.1668218792)
  
  
  ---
  
  