Re: Getting mouse coordinates from inside a gimp plug-in?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 10:41 27/6/00 -0500, Frazer Williams <pfw@xxxxxxxxxxx> wrote:
>Hi,
>
>  I'm trying to write an "unplot" plugin.  The idea is to load a graph
>  image into the gimp (probably using a scanner), and then, using the mouse
>  to click on points on the graph, write the x and y values of
>  mouse-selected points to a file.  Thus, if I had a graph of, say,
>  voltage vs. current, I could digitize it manually using the plug-in,
>  obtaining a file with voltages and currents.

An alternative hacky way to achieve the same results might be just add
(draw) a dot of a well-known colour that does not otherwise appear in the
image at each desired location, then post-process the image to extract the
data by searching for those dots...


Ian




[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux