aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authortcit <tcit@tcit.fr>2014-05-19 15:59:18 +0200
committertcit <tcit@tcit.fr>2014-05-19 15:59:18 +0200
commite3b00bcaf580177ecdbdb2ee90dfc263b1c2d79e (patch)
treef3cc241f5243f96719c94aa65351c8824402e6b5
parent6caba976ec0c2333c33b64bc4de26c64b19f2f49 (diff)
downloadwallabag-e3b00bcaf580177ecdbdb2ee90dfc263b1c2d79e.tar.gz
wallabag-e3b00bcaf580177ecdbdb2ee90dfc263b1c2d79e.tar.zst
wallabag-e3b00bcaf580177ecdbdb2ee90dfc263b1c2d79e.zip
Fixed bug for png images
-rw-r--r--inc/poche/pochePictures.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/poche/pochePictures.php b/inc/poche/pochePictures.php
index 97eb56ac..8f86d2f2 100644
--- a/inc/poche/pochePictures.php
+++ b/inc/poche/pochePictures.php
@@ -97,7 +97,7 @@ function download_pictures($absolute_path, $fullpath)
97 imagejpeg($im, $fullpath, REGENERATE_PICTURES_QUALITY); 97 imagejpeg($im, $fullpath, REGENERATE_PICTURES_QUALITY);
98 break; 98 break;
99 case 'image/png': 99 case 'image/png':
100 imagepng($im, $fullpath, REGENERATE_PICTURES_QUALITY); 100 imagepng($im, $fullpath, ceil(REGENERATE_PICTURES_QUALITY / 100 * 9));
101 break; 101 break;
102 } 102 }
103 imagedestroy($im); 103 imagedestroy($im);