Bug #15201 ยป patch-class.t3lib_iconworks.diff
class.t3lib_iconworks-patched.php 2005-11-14 16:36:57.804575829 +0100 | ||
---|---|---|
ImagePng($im, $tempBaseName.'_im.png');
|
||
ImagePng($cpImg, $tempBaseName.'_cpImg.png');
|
||
$cmd = t3lib_exec::imageMagickCommand('combine', '-compose over '.$tempBaseName.'_cpImg.png '.$tempBaseName.'_im.png '.$tempBaseName.'_out.png ');
|
||
// wrong class scope, needs to be t3lib_div::imageMagickCommand instead of t3lib_exec::...
|
||
// moeller@network-publishing.de, 2005-11-14
|
||
$cmd = t3lib_div::imageMagickCommand('combine', '-compose over '.$tempBaseName.'_cpImg.png '.$tempBaseName.'_im.png '.$tempBaseName.'_out.png ');
|
||
exec($cmd);
|
||
$im = imagecreatefrompng($tempBaseName.'_out.png');
|