diff --git a/ecrire/inc_version.php3 b/ecrire/inc_version.php3
index de5e8d006dab3d2272ee7e36df84b7bbd90f2426..74e25fbdf1a598f659978b7722ad11c97a36ffa8 100644
--- a/ecrire/inc_version.php3
+++ b/ecrire/inc_version.php3
@@ -201,8 +201,8 @@ if ($flag_function_exists) {
 	$flag_utf8_decode = function_exists("utf8_decode");
 	$flag_ldap = function_exists("ldap_connect");
 	$flag_flock = function_exists("flock");
-	$flag_ImageCreateTrueColor = function_exists("ImageCreateTrueColor");
-	$flag_ImageCopyResampled = function_exists("ImageCopyResampled");
+	$flag_ImageCreateTrueColor = function_exists("ImageCreateTrueColor") && function_exists("gd_info");
+	$flag_ImageCopyResampled = function_exists("ImageCopyResampled") && function_exists("gd_info");
 	$flag_ImageGif = function_exists("ImageGif");
 	$flag_ImageJpeg = function_exists("ImageJpeg");
 	$flag_ImagePng = function_exists("ImagePng");