@define ('MODE_DEMO', FALSE);
@define ('DEBUG_POCHE', FALSE);
@define ('DOWNLOAD_PICTURES', FALSE);
+@define ('REGENERATE_PICTURES_QUALITY'), 75);
@define ('CONVERT_LINKS_FOOTNOTES', FALSE);
@define ('REVERT_FORCED_PARAGRAPH_ELEMENTS', FALSE);
@define ('SHARE_TWITTER', TRUE);
break;
case 'image/jpeg':
case 'image/jpg':
- imagejpeg($im, $fullpath); // default quality is 75%
+ imagejpeg($im, $fullpath, REGENERATE_PICTURES_QUALITY);
break;
case 'image/png':
- imagepng($im, $fullpath);
+ imagepng($im, $fullpath, REGENERATE_PICTURES_QUALITY);
break;
}
imagedestroy($im);