Merge remote-tracking branch 'upstream/master' into master

This commit is contained in:
Lastorder-DC 2025-10-27 23:09:27 +09:00
commit 1c8ae0d766
52 changed files with 447 additions and 1007 deletions

View file

@ -728,6 +728,10 @@ class FileHandler
}
elseif ($target_type === 'webp' && function_exists('imagewebp'))
{
if (!imageistruecolor($thumb))
{
imagepalettetotruecolor($thumb);
}
$output = imagewebp($thumb, $target_file);
}
else