<?php
$im = imagecreate(100, 100);
$string = 'Notez que la première lettre est un N';
$bg = imagecolorallocate($im, 255, 255, 255); $black = imagecolorallocate($im, 0, 0, 0);
// affiche un "Z" noir sur un fond blanc imagecharup($im, 3, 10, 10, $string, $black);
header('Content-type: image/png'); imagepng($im);
?>
|