Ads below are only shown to Non-Members. Join Today!
Non-Members viewing ads help a good cause!

Get path length (ancillary)

Share your Python Fu scripts for GIMP here
Post Reply
User avatar
Script Coder
Posts: 564
Joined: 20 Jan 2017, 03:50
Cash on hand: 1,225.47 GLP
Gender: Guy
Location: Roma (Italy)
x 83
x 85

#1 Get path length (ancillary)

Post by dinasset » 6 days 6 hours ago

For someone who could be interested this is an ancillary function to get the total length of the active path in an image/layer.
Used stand-alone it returns the value as a message (call it from an image with an active path).
Used from a calling filter it returns the value as the output variable of the call.
(986 Bytes) Downloaded 9 times
(source checked and improved by Ofnuts, thanks)

edit May, 20th: changed one parameter, as rec by Ofnuts, not to use too much CPU time
(600 Bytes) Downloaded 2 times
0 x

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests