php - create statistics on image (e.g. mostly used color...) -


Sorry if the question is a bit unclear but I'm new to GD. I'm thinking that the GD already has some built-in methods. Whether or not the GD-dependent PHP classes are present can present me with a set of data in a given image. I'm mostly interested in:

  1. Color (NB of used colors, mostly used colors, even if I can get the name of the main color tone, even more
  2. Shapes (whether image-background has been removed - close to a square of the original figures found in the image, circle, nb)
< P>

Color count:

The color of a given pixel:

For shapes, you Image Slots That will need to be done and implement some smart algorithms. I can say that this is not quite easy.


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -