Je viens d'installer la nouvelle version de Wamp (1.5.0c) + l'add-on PHP4.
Avant cette nouvelle version j'utilisais la version 1.4.3, et je n'avais pas de problème avec le script suivant :
$texte=stripslashes($_POST['texte']);
$image = imagecreatefromjpeg("photo1.jpg");
$noir = imagecolorallocate($image, 0, 0, 0);
$couleur = imagecolorallocate($image, 200, 168, 241);
imagettftext($image, 24, 0, 17, 592, $noir, "framdit.ttf", $texte);
imagettftext($image, 24, 0, 15, 590, $couleur, "framdit.ttf", $texte);
imagejpeg($image, "photo_ok.jpg");
Mais depuis que j'ai installé la nouvelle version, même en switchant en PHP4, j'ai toujours la même erreur :Fatal error: Call to undefined function imagecreatefromjpeg() in c:\wamp\www\tests\image4_formulaire\go.php on line 4
D'après mes recherche, çà voudrait dire "fonction inconnu" !?
Si quelqu'un peu m'orienter, sa serait gentil