mirror of
https://github.com/HaschekSolutions/pictshare.git
synced 2025-11-12 11:16:22 +00:00
fixed conversion bug
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user