Hola:
Tardé un poco en responder porque preparé un ejemplillo:
ejemplo.html:
Código:
<html>
<body>
<form action="destino.php" method="get" enctype="text/plain">
<input type="image" src="formas.png" />
</form>
</body>
</html>
destino.php:
Código:
<?
$x = $_GET["x"];
$y = $_GET["y"];
$datos = Array();
$datos["2147483647"] = "nada";
$datos["255"] = "cuadrado azul";
$datos["16711680"] = "figura roja";
$datos["65280"] = "círculo verde";
$imagen = imagecreatefrompng("formas.png");
$seleccion = (String) imageColorAt($imagen, $x, $y);
echo "Ha pinchado en ".$datos[$seleccion]." ($seleccion).";
?>
Lo puedes ver
aquí
Saludos