mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-23 09:31:04 +00:00
Fixed bug for png images
This commit is contained in:
parent
6caba976ec
commit
e3b00bcaf5
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ function download_pictures($absolute_path, $fullpath)
|
|||
imagejpeg($im, $fullpath, REGENERATE_PICTURES_QUALITY);
|
||||
break;
|
||||
case 'image/png':
|
||||
imagepng($im, $fullpath, REGENERATE_PICTURES_QUALITY);
|
||||
imagepng($im, $fullpath, ceil(REGENERATE_PICTURES_QUALITY / 100 * 9));
|
||||
break;
|
||||
}
|
||||
imagedestroy($im);
|
||||
|
|
Loading…
Reference in a new issue