debug on the demo server

This commit is contained in:
Martynas Mickevicius
2010-07-06 21:23:03 +03:00
parent c9a785cf03
commit c1ed3e2291

View File

@@ -198,12 +198,15 @@
{
$this->XSize = $XSize;
$this->YSize = $YSize;
echo "before imagecreatetruecolor\n";
$this->Picture = imagecreatetruecolor($XSize,$YSize);
echo "before this->AllocateColor\n";
$C_White =$this->AllocateColor($this->Picture,255,255,255);
echo "before imagefilledrectangle\n";
imagefilledrectangle($this->Picture,0,0,$XSize,$YSize,$C_White);
echo "before imagecolortransparent";
imagecolortransparent($this->Picture,$C_White);
echo "after imagecolortransparent";
$this->setFontProperties("tahoma.ttf",8);
}