Ronan Oger wrote:
You can do the following:
get the raster-image-coordinate x and y values, send to a server, use a
serverside script to retrieve the colour of the pixel at that position, and
retrieve using getURL. You could easily do this with Perl and the GD module.
Another way to do
Thanks! I'll try both ideeas. (If you already know about a similar perl or
script code example, please send me a link)
What I want to do is a query tool for a web map. On a raster image the
informations are color-coded. So by getting the color for a specific point in
that image, I am able
Hello,
I need to read a pixel color from a raster image (inside a script,
when an user makes a mouse click on an image pixel) that I am showing
in SVG (I can have the mouse coordinates). I already know that this
is impossible with ECMA script (or at least I think so).
Has someone an ideea
SVG has no concept of pixels. Pixels are raster, SVG is vector based. You need
to use DOM methods to find out the color of the object under the mouse, and
this can be tricky since a red circle may have a transparent rectangle on top
of it...
Try this search on Google:
hi,
no, this doesn't work. you are not the first to ask.
btw, raster images get referenced by xlink:href, thus they are external
ressources and they are of a different type than svg is. a lot of hurdles...
andré
--
___
andre m.
Hi,
Thanks!
Do you know how others have done this? In other way? With java?
Ionut
André M. Winter - Carto.net [EMAIL PROTECTED] wrote:
hi,
no, this doesn't work. you are not the first to ask.
btw, raster images get referenced by xlink:href, thus they are external
ressources and they are
6 matches
Mail list logo