]> granicus.if.org Git - php/commitdiff
- no need to test if jpeg support exists
authorPierre Joye <pajoye@php.net>
Fri, 9 Dec 2005 18:16:21 +0000 (18:16 +0000)
committerPierre Joye <pajoye@php.net>
Fri, 9 Dec 2005 18:16:21 +0000 (18:16 +0000)
ext/gd/tests/pngcomp.phpt

index 6a4dbbb6c04b1e3a7c7f257d3bcba8f2f96b7ee3..1974610d358cdc6ff44c572f15268ad59bc20d7e 100644 (file)
@@ -11,9 +11,6 @@ png compression test
        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