<?php header ("Content-type: image/png"); $im = @imagecreatetruecolor (50, 100) or die ("Impossible de crée un flux d'image GD"); $text_color = imagecolorallocate ($im, 233, 14, 91); imagestring ($im, 1, 5, 5, "Une simple chaîne de texte", $text_color); imagepng ($im); imagedestroy ($im); ?>
|