[Gimp-developer] Improvement for measurement tool
Chris Mohler
cr33dog at gmail.com
Sun Jul 5 13:11:16 PDT 2009
On Sun, Jul 5, 2009 at 9:51 AM, Dirk
Sohler<gimp-developer-ml at kamerastars.de> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi there!
>
> I filed a “bug” with an enhancement request to the GIMP Bugzilla, but
> Martin Nordholts told me, to send a mail to the GIMP developers mailing
> list first, so … here it is :)
>
>
> I had a kind of map opened as image in GIMP. I used the path tool and
> clicked a path alon a route i want to measure. After i did this i tried
> to get the path’s length. But i noticed really soon, that it is not
> possible to output the path’s total length without learning script-fu.
What the heck - I added it as a (very) simple plug-in:
http://registry.gimp.org/node/17235
In 2.6. it returns the length of the path on the status bar. I used
gimp_message, so IIRC the location of the message is configurable. It
silently fails if there is no active path - it seems to work OK with
multiple paths, straight lines, and curves. There is no need to
stroke the path.
You will need to have Python installed though...
HTH,
Chris
More information about the Gimp-developer
mailing list