RSS/Atom feed Twitter
Site is read-only, email is disabled

Which package contains source code for the Scissor Selection tool

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

2 of 3 messages available
Toggle history

Please log in to manage your subscriptions.

205790814.4279107.145877248... 23 Mar 22:35
  Which package contains source code for the Scissor Selection tool Minh-Long Hoàng 23 Mar 22:34
   Which package contains source code for the Scissor Selection tool Shlomi Fish 24 Mar 08:43
Minh-Long Hoàng
2016-03-23 22:34:49 UTC (about 8 years ago)

Which package contains source code for the Scissor Selection tool

 I am trying to write a program that allows the user to use the mouse to select an object of a photo by clicking points around the object. My code should create a patch around the object and then copy a the enclosed region. This functionality is exactly how the Scissor Selection tool of GIMP works. I tried to download GIMP source code to see how this feature was implemented by GIMP developers. However, there are so many packages and I could not find the source files that has the code for the Scissor Selection tool (LiveWire algorithm). 

Shlomi Fish
2016-03-24 08:43:29 UTC (about 8 years ago)

Which package contains source code for the Scissor Selection tool

Hi Minh-Long Hoàng,

welcome aboard.

On Wed, 23 Mar 2016 22:34:49 +0000 (UTC) Minh-Long Hoàng wrote:

 I am trying to write a program that allows the user to use the mouse to select an object of a photo by clicking points around the object. My code should create a patch around the object and then copy a the enclosed region. This functionality is exactly how the Scissor Selection tool of GIMP works. I tried to download GIMP source code to see how this feature was implemented by GIMP developers. However, there are so many packages and I could not find the source files that has the code for the Scissor Selection tool (LiveWire algorithm).

An ack query appears to yield some results:

gimp-2.8.14$ ack -g scissor

app/tools/gimpiscissorstool.c app/tools/gimpiscissorsoptions.h
app/tools/.deps/gimpiscissorstool.Po app/tools/.deps/gimpiscissorsoptions.Po app/tools/gimpiscissorstool.h
app/tools/gimpiscissorsoptions.c

See ack ( http://beyondgrep.com/ ). You may also try a full text search (ack -g only searches inside the filenames).

Note that GIMP's source code is licensed under version 2 or version 3 of the https://en.wikipedia.org/wiki/GNU_General_Public_License which, while being an open-source licence, imposes some restrictions on what you can and cannot do with the code.

Regards,

Shlomi Fish

-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
UNIX Fortune Cookies - http://www.shlomifish.org/humour/fortunes/

Python - There’s only one way to do it. The one true way of doing it. And then
there are others.
    — http://www.shlomifish.org/humour/ways_to_do_it.html

Please reply to list if it's a mailing list post - http://shlom.in/reply .