$outim = GD::Image->new($width, $height); ... @bounds = GD::Image->new->stringFT($fgcolor,$fontname,$ptsize,$angle,$x,$y,$string);