Da traduttori professionisti, imprese, pagine web e archivi di traduzione disponibili gratuitamente al pubblico.
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.
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità:
Attenzione: contiene formattazione HTML nascosta
?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.
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità:
Attenzione: contiene formattazione HTML nascosta