'); $Image = ImageCreate(imagesx($Image3) * 1.5, imagesy($Image3) * 1.5); imagecopyresampled($Image, $Image3, 0, 0, 0, 0, imagesx($Image), imagesy($Image), imagesx($Image3), imagesy($Image3)); ImageDestroy($Image3); $FontFile = 'FRIZQT__.ttf'; //$FontFile = 'c:\WINDOWS\fonts\arial.ttf'; $FontSize = 20; $FontSizeShadow = $FontSize * 1.3; $white = imagecolorallocate($Image, 255, 255, 255); $grey = imagecolorallocate($Image, 200, 200, 200); $black = imagecolorallocate($Image, 30, 30, 30); $BoundBox = imagettfbbox($FontSizeShadow, 0, $FontFile, $Text); $ShadowTextPositionY = imagesy($Image) / 2 + ($BoundBox[1] - $BoundBox[7]) / 2 - 2; $BoundBox = imagettfbbox($FontSize, 0, $FontFile, $Text); $TextPositionY = imagesy($Image) / 2 + ($BoundBox[1] - $BoundBox[7]) / 2 - 2; $SizeX = array(); for($I=0; $I