De traductores profesionales, empresas, páginas web y repositorios de traducción de libre uso.
imagettftext() requiert les bibliothèques gd ainsi que freetype.
this example script will produce a black gif 400x30 pixels, with the words "testing..." in white in the font arial.
Última actualización: 2011-10-24
Frecuencia de uso: 1
Calidad:
Advertencia: contiene formato HTML invisible
?php header( "content-type: image / gif"); $im = imagecreate(400,30); $black = imagecolorallocate($im, 0,0,0); $white = imagecolorallocate($im, 255,255,255); imagettftext($im, 20, 0, 10, 20, $white, "/ path / arial.ttf", "test en cours...
imagettftext() returns an array with 8 elements representing four points making the bounding box of the text. the order of the points is upper left, upper right, lower right, lower left. the points are relative to the text regardless of the angle, so "upper left" means in the top left-hand corner when you see the text horizontallty.
Última actualización: 2011-10-24
Frecuencia de uso: 1
Calidad:
Advertencia: contiene formato HTML invisible