diff --git a/inc/poche/pochePictures.php b/inc/poche/pochePictures.php index 97eb56ac6..8f86d2f21 100644 --- a/inc/poche/pochePictures.php +++ b/inc/poche/pochePictures.php @@ -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);