@@ -55,6 +55,15 @@ public function initFromPath($path)
                 $core = @imagecreatefromwebp($path);
                 break;
 
+            case 'image/avif':
+                if ( ! function_exists('imagecreatefromavif')) {
+                    throw new NotReadableException(
+                        "Unsupported image type. GD/PHP installation does not support Avif format."
+                    );
+                }
+                $core = @imagecreatefromavif($path);
+                break;
+
             case 'image/bmp':
             case 'image/ms-bmp':
             case 'image/x-bitmap':