diff options
Diffstat (limited to 'inc')
-rw-r--r-- | inc/poche/pochePictures.php | 2 |
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); |