Here the relevant code:
Code: Select all
$sig = ImageCreateFromJPeg($fname);
$namecolor = ImageColorAllocate($sig,0xFF,0xFF,0xFF);
function imagestringb($arg1,$arg2,$arg3,$arg4,$arg5,$arg6)
{
imagestring ($arg1,$arg2,$arg3,$arg4,$arg5,$arg6);
imagestring ($arg1,$arg2,$arg3+1,$arg4+1,$arg5,$arg6);
};
imagestringb ($sig, 4, 80,65, $realmrank, $namecolor);
imagestringb($sig, 4, 80,80, dotted($rpatall)." RP gesamt", $namecolor);
imagestringb($sig, 4, 80,95, dotted($lastweekrp)." RP letzte Woche", $namecolor);
header("Content-type: image/png");
ImagePng($sig);
ImageDestroy($sig);
exit;Who can help me out, thanks.
Alyx
p.s. The matter that I output it now as PNG is not the reason, as JPG there was the same problem, I just hoped using PNG might help.
p.p.s. The buggy result:
http://www.spacehub.de/sigtest/signatur ... name=Alyci