aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/poche/pochePictures.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/poche/pochePictures.php')
-rw-r--r--inc/poche/pochePictures.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/poche/pochePictures.php b/inc/poche/pochePictures.php
index f10cc25e..97eb56ac 100644
--- a/inc/poche/pochePictures.php
+++ b/inc/poche/pochePictures.php
@@ -94,10 +94,10 @@ function download_pictures($absolute_path, $fullpath)
94 break; 94 break;
95 case 'image/jpeg': 95 case 'image/jpeg':
96 case 'image/jpg': 96 case 'image/jpg':
97 imagejpeg($im, $fullpath); // default quality is 75% 97 imagejpeg($im, $fullpath, REGENERATE_PICTURES_QUALITY);
98 break; 98 break;
99 case 'image/png': 99 case 'image/png':
100 imagepng($im, $fullpath); 100 imagepng($im, $fullpath, REGENERATE_PICTURES_QUALITY);
101 break; 101 break;
102 } 102 }
103 imagedestroy($im); 103 imagedestroy($im);