• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Issue Missing AVIF support in Imagick for PHP 8.5?

Azurel

Silver Pleskian
Server operating system version
AlmaLinux 9.8
Plesk version and microupdate number
18.0.80#6
I’m running AlmaLinux 9.8 with Plesk PHP 8.5 and would like to use Imagick to save images in AVIF format. According to phpinfo():
Imagick module version: 3.8.1
ImageMagick compiled and loaded version: 7.1.2-30 Q16-HDRI
AVIF is missing from the supported formats list.

GD has AVIF support enabled, but my application uses Imagick.
Is there a supported way to add AVIF encoding support to Plesk’s PHP 8.5 Imagick package while retaining Plesk-managed packages and updates?
 
My understanding is there there is no supported way to add AVIF to Imagick without recompiling PHP yourself which means it's self manage at that point. You can always create a helper function to pass any AVIF request off to GD instead if you don't mind rewriting some of the code to allow such functions to work, otherwise you'll need to self manage your own version of PHP with the added support.
 
@Azurel , there doesn't seem to be an existing initiative for adding AVIF support to Imagick for PHP 8.5 provided by Plesk. I will consult with our team if that's something they are considering putting on their agenda.
 
@Azurel , our team confirmed that there are currently no active plans on introducing AVIF support to Imagick and it does classify as a feature request. Could you please submit a new idea on features.plesk.com? Thank you in advance.
 
Hello,

Is this specific to AlmaLinux?

On Ubuntu 26.04.1 LTS, I have Imagick 3.8.1 and ImageMagick 7.1.2-18 Q16 (an older version).
AVIF was already supported for reading, but I had to manually install a plugin to be able to encode AVIF:

apt install libheif-plugin-aomenc

Everything seems to be working now.
 
Back
Top