cvs: php4(PHP_4_3) /ext/gd/tests jpeg2png.phpt
| From: | Ilia Alshanetsky | Date: | Wed, 11 Dec 2002 22:37:35 +0000 |
| Subject: | cvs: php4(PHP_4_3) /ext/gd/tests jpeg2png.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-17145@lists.php.net to get a copy of this message | ||
iliaa Wed Dec 11 17:37:35 2002 EDT
Modified files: (Branch: PHP_4_3)
/php4/ext/gd/tests jpeg2png.phpt
Log:
MFH
Index: php4/ext/gd/tests/jpeg2png.phpt
diff -u php4/ext/gd/tests/jpeg2png.phpt:1.1.2.1 php4/ext/gd/tests/jpeg2png.phpt:1.1.2.2
--- php4/ext/gd/tests/jpeg2png.phpt:1.1.2.1 Wed Dec 4 16:07:10 2002
+++ php4/ext/gd/tests/jpeg2png.phpt Wed Dec 11 17:37:35 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