fixed conversion bug

This commit is contained in:
Chris
2023-09-07 17:55:25 +02:00
parent 307243a5bf
commit fffcb13ac9

View File

@@ -298,6 +298,8 @@ class ImageController implements ContentController
break;
case 'webp':
imagepalettetotruecolor($im);
imagealphablending($im, true);
imagewebp($im,$tmppath,(defined('WEBP_COMPRESSION')?WEBP_COMPRESSION:80));
break;
}