Home
last modified time | relevance | path

Searched refs:imagecolorstotal (Results 1 – 7 of 7) sorted by relevance

/PHP-8.0/ext/gd/tests/
H A Dimagecolourstotal_basic.phpt2 Test imagecolorstotal() function : basic functionality
10 if (!function_exists("imagecolorstotal")) {
11 die("skip imagecolorstotal() not available.");
16 echo "*** Testing imagecolorstotal() : basic functionality ***\n";
20 var_dump( imagecolorstotal( $img ) );
22 var_dump( imagecolorstotal( $img ));
25 var_dump( imagecolorstotal( $img ));
30 var_dump( imagecolorstotal( $img ) );
32 var_dump( imagecolorstotal( $img ) );
37 *** Testing imagecolorstotal() : basic functionality ***
H A Dimagecolorstotal_basic.phpt2 Test imagecolorstotal() function : basic functionality
9 if(!function_exists('imagecolorstotal') || !function_exists('imagecreatefromgif')) {
10 die('skip imagecolorstotal and imagecreatefromgif functions not available in this build');
15 echo "*** Testing imagecolorstotal() : basic functionality ***\n";
21 echo 'Total colors in image: ' . imagecolorstotal($im);
27 *** Testing imagecolorstotal() : basic functionality ***
H A Dimagecolordeallocate_error3.phpt17 $totalColors = imagecolorstotal($image);
H A Dimagecolordeallocate_error4.phpt17 $totalColors = imagecolorstotal($image);
/PHP-8.0/ext/gd/
H A Dgd_arginfo.h658 ZEND_FUNCTION(imagecolorstotal);
793 ZEND_FE(imagecolorstotal, arginfo_imagecolorstotal)
H A Dgd.stub.php178 function imagecolorstotal(GdImage $image): int {} function
H A Dgd.c2566 PHP_FUNCTION(imagecolorstotal) in PHP_FUNCTION() argument

Completed in 24 milliseconds