Change graphic library priority, ext_imagemick is now preffered

This commit is contained in:
RushLana
2025-05-16 09:39:49 +02:00
parent 9bcc2cfa02
commit 839cff45a5
3 changed files with 24 additions and 24 deletions
+5 -5
View File
@@ -406,16 +406,16 @@ class pwg_image
switch (strtolower($library))
{
case 'auto':
case 'imagick':
if ($extension != 'gif' and self::is_imagick())
{
return 'imagick';
}
case 'ext_imagick':
if ($extension != 'gif' and self::is_ext_imagick())
{
return 'ext_imagick';
}
case 'imagick':
if ($extension != 'gif' and self::is_imagick())
{
return 'imagick';
}
case 'gd':
if (self::is_gd())
{