Improve Image Quality of Boonex Dolphin
{ March 20th, 2008 }
Recently I’ve begun building a community using the open source Boonex Dolphin software CMS. One problem I was having was that, even after using the the site UI to improve image quality, it still seemed as if uploading images was ‘lossy’. After some research and a chat with the admins I came up with the following solution:
The quality of the output JPEG files can be adjusted in inc/images.inc.php, where you need to replace the following line:
$writeResult = imagejpeg( $dst_im, $dstFilename );
with this one
$writeResult = imagejpeg( $dst_im, $dstFilename, quality_in_percent );
where quality_in_percent is a number from 0 to 100





