cvs: php4 /ext/gd/tests jpeg2png.phpt

From: Date: Wed, 11 Dec 2002 22:37:05 +0000
Subject: cvs: php4 /ext/gd/tests jpeg2png.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-17144@lists.php.net to get a copy of this message
iliaa Wed Dec 11 17:37:05 2002 EDT Modified files: /php4/ext/gd/tests jpeg2png.phpt Log: Added check for availability of jpeg support. Index: php4/ext/gd/tests/jpeg2png.phpt diff -u php4/ext/gd/tests/jpeg2png.phpt:1.1 php4/ext/gd/tests/jpeg2png.phpt:1.2 --- php4/ext/gd/tests/jpeg2png.phpt:1.1 Wed Dec 4 16:04:07 2002 +++ php4/ext/gd/tests/jpeg2png.phpt Wed Dec 11 17:37:05 2002 @@ -11,6 +11,9 @@ if (!function_exists("imagecreatefrompng") || !function_exists("imagepng")) { die("skip png support unavailable"); } + if (!function_exists("imagecreatefromjpeg") || !function_exists("imagejpeg")) { + die("skip jpeg support unavailable"); + } ?> --FILE-- <?php

« previous php.cvs (#17144) next »