|
|
|
création d'image en PHPAjouté le 7/7/2009 Ceci est un exemple de création d'image en PHP : $image = imagecreate(400,300); $bg = imagecolorallocate($image,0,0,0); $col_poly = imagecolorallocate($image,255,255,255); imagepolygon($image, array ( 0, 0, 100, 200, 300, 200 ), 3, $col_poly); header("Content-type: image/png"); imagepng($image); ?> Pour l'inserer sur page html Tags : image en PHP Catégorie : Non spécifié | Commentaires (0) | Ecrire un commentaire | |
| Créer un blog | Contacter l'auteur |
|