Is it possible to retrieve the coordinates x,y (and width,height) of a shape in an image with imagemagick ?
Let me explain :
There is a function in flash which recovers an area corresponding to a certain color (getColorBoundsRect) :

With this picture, the function will return the coordinates of the area filled with the red circle.
I would do the same with imagemagick but I do not know if this is possible.
Thank you