mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-01-31 04:13:49 +01:00
PNGs for thumbnails.
This commit is contained in:
parent
599824d2e6
commit
ef39c6ab47
@ -353,7 +353,7 @@
|
||||
$tmp=imagecreatetruecolor($tn_width, $tn_height);
|
||||
imagecopyresampled($tmp, $src, 0, 0, 0, 0, $tn_width, $tn_height,$width,$height);
|
||||
|
||||
imagejpeg($tmp,$destination_pic,100);
|
||||
imagepng($tmp, $destination_pic, 100);
|
||||
imagedestroy($src);
|
||||
imagedestroy($tmp);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user