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