$im = new Gmagick($f);
$draw = new GmagickDraw();
$draw->setFontSize(64);
$draw->settextencoding("UTF-8");
$draw->setFillColor(new GmagickPixel('#FFFFFF'));
$draw->annotate(30, $wh1[1]-50, $waster);
$im->drawImage($draw);