Project

General

Profile

Feature #21886 ยป typo3-alpha-rotation-patch.diff

Administrator Admin, 2009-12-26 22:31

View differences:

4.3.0/t3lib/class.t3lib_stdgraphic.php 2009-12-23 22:56:12.000000000 +0100
}
break;
case 'rotate':
$commands.=' -rotate '.t3lib_div::intInRange($value,0,360);
$commands.=' -background \'#00000000\' -rotate '.t3lib_div::intInRange($value,0,360);
break;
case 'solarize':
$commands.=' -solarize '.t3lib_div::intInRange($value,0,99);
......
$tmpImg = $this->imageCreateFromFile($theFile);
if ($tmpImg) {
ImageDestroy($im);
imagesavealpha($tmpImg, true);
$im = $tmpImg;
$this->w = imagesx($im);
$this->h = imagesy($im);
    (1-1/1)