mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
Merge remote-tracking branch 'upstream/master' into master
This commit is contained in:
commit
1c8ae0d766
52 changed files with 447 additions and 1007 deletions
|
|
@ -728,6 +728,10 @@ class FileHandler
|
|||
}
|
||||
elseif ($target_type === 'webp' && function_exists('imagewebp'))
|
||||
{
|
||||
if (!imageistruecolor($thumb))
|
||||
{
|
||||
imagepalettetotruecolor($thumb);
|
||||
}
|
||||
$output = imagewebp($thumb, $target_file);
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue