Home
last modified time | relevance | path

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

/PHP-7.3/ext/gd/tests/
H A Dimagecolorstotal_error.phpt8 if(!function_exists('imagecolorstotal')) {
9 die('skip imagecolorstotal function is not available');
14 /* Prototype : int imagecolorstotal ( resource $image )
19 echo "*** Testing imagecolorstotal() : error conditions ***\n";
24 echo "\n-- Testing imagecolorstotal() function with Zero arguments --\n";
25 var_dump( imagecolorstotal() );
29 var_dump( imagecolorstotal($im, $extra_arg) );
32 var_dump( imagecolorstotal($im) );
38 *** Testing imagecolorstotal() : error conditions ***
40 -- Testing imagecolorstotal() function with Zero arguments --
[all …]
H A Dimagecolourstotal_basic.phpt2 Test imagecolorstotal() function : basic functionality
10 if (!function_exists("imagecolorstotal")) {
11 die("skip imagecolorstotal() not available.");
16 /* Prototype : int imagecolorstotal(resource im)
22 echo "*** Testing imagecolorstotal() : basic functionality ***\n";
26 var_dump( imagecolorstotal( $img ) );
28 var_dump( imagecolorstotal( $img ));
31 var_dump( imagecolorstotal( $img ));
36 var_dump( imagecolorstotal( $img ) );
38 var_dump( imagecolorstotal( $img ) );
[all …]
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 /* Prototype : int imagecolorstotal ( resource $image )
20 echo "*** Testing imagecolorstotal() : basic functionality ***\n";
26 echo 'Total colors in image: ' . imagecolorstotal($im);
34 *** Testing imagecolorstotal() : basic functionality ***
H A Dimagecolordeallocate_error4.phpt15 $totalColors = imagecolorstotal($image);
H A Dimagecolordeallocate_error3.phpt15 $totalColors = imagecolorstotal($image);
/PHP-7.3/ext/gd/
H A Dphp_gd.h103 PHP_FUNCTION(imagecolorstotal);
H A Dgd.c880 PHP_FE(imagecolorstotal, arginfo_imagecolorstotal)
3352 PHP_FUNCTION(imagecolorstotal) in PHP_FUNCTION() argument

Completed in 17 milliseconds