Project

General

Profile

Bug #20884 ยป typo3-sharpen.patch

Administrator Admin, 2009-08-14 14:44

View differences:

class.t3lib_stdgraphic.php 2009-08-14 14:22:47.980974000 +0200
// Setting default JPG parameters:
$this->jpegQuality = t3lib_div::intInRange($gfxConf['jpg_quality'], 10, 100, 75);
$this->cmds['jpg'] = $this->cmds['jpeg'] = '-colorspace RGB -sharpen 50 -quality '.$this->jpegQuality;
$sharpenArg = isset($gfxConf['jpg_sharpenArg']) ? $gfxConf['jpg_sharpenArg'] : '';
$this->cmds['jpg'] = $this->cmds['jpeg'] = '-colorspace RGB ' . $sharpenArg . ' -quality '.$this->jpegQuality;
if ($gfxConf['im_combine_filename']) $this->combineScript=$gfxConf['im_combine_filename'];
if ($gfxConf['im_noFramePrepended']) $this->noFramePrepended=1;
if ($gfxConf['gdlib_2']) {
if ($gfxConf['gdlib_2']) {
$this->GD2 = 1;
$this->imagecopyresized_fix = $gfxConf['gdlib_2']==='no_imagecopyresized_fix' ? 0 : 1;
}
    (1-1/1)