Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
imagick_getnumbercolors

imagick_getnumbercolors

(PECL)

imagick_getnumbercolors -- Get number of colors

Description

int imagick_getnumbercolors ( resource image, string hist_filename )

Warning

This function is currently not documented; only the argument list is available.

Parameters

image

Image handle

hist_filename

Write a histogram of the color distribution to this file

Return Values

Number of unique colors used in the image on success or FALSE on failure.

á