echo "$key => $val
";
}
//ImageTTFText($im, 20, 0, 10, 24, $white, "font/arial.ttf", "I am
NUMBER ONE !!");
//Imagepng($im);
//ImageDestroy($im);
//计算动态图象的高和宽
$font_width = $fontarea[2]-$fontarea[0];//256
$font_height = $fontarea[1]-$fontarea[7];//19
$images_width = $font_width 10;//定义生成计数器图象宽度
//$images_height=15;//定义生成计数器图象高度
$images_height = $font_height 10;
$font_location_x =5;
$font_location_y = ($images_height-$font_height)/2 $fontarea[7];
echo "images_width=$images_width
images_height=$images_height
";