Index: branches/5.0.x/core/units/helpers/image_helper.php =================================================================== diff -u -N -r12875 -r13201 --- branches/5.0.x/core/units/helpers/image_helper.php (.../image_helper.php) (revision 12875) +++ branches/5.0.x/core/units/helpers/image_helper.php (.../image_helper.php) (revision 13201) @@ -1,6 +1,6 @@ _applyWatermark($dst_image_rs, $params[$watermark_size . '_width'], $params[$watermark_size . '_height'], $params); - return @$write_function($dst_image_rs, $params['dst_image'], 100); + if ($write_function == 'imagegif') { + return @$write_function($dst_image_rs, $params['dst_image']); + } + + return @$write_function($dst_image_rs, $params['dst_image'], $write_function == 'imagepng' ? 9 : 100); } } else {