On Tue, 14 Feb 2006 10:58:10 -0500, Neraph <za********@yahoo.com>
wrote:
Sorry, I'm somewhat of a newbie at this.
I'm looking for a method of grabbing the color of a pixel when clicking
on an image (obviously, using javascript). Google searching hasn't
returned anything useful for me.
Thanks.
I doubt it. Javascript doesn't have any access to the contents of an
image, only to the contents of the IMG tag. You could use the ISMAP
attribute and pass the image X,Y position to a client-side script that
would carry out the function, but I don't think you can do it in
Javascript.
Paul