It is currently 17 Dec 2017, 17:04

GIMP Python Fu ScriptsGet path length (ancillary) (Showcase | Slideshow)

Share your Python Fu scripts for GIMP here
Post Reply
User avatar
dinasset

Script Coder
View: Showcase | Slideshow
Topic Posts: 1/1
Posts: 711
Joined: 20 Jan 2017, 03:50
Cash on hand: 3,459.88 GLP
Gender: Guy
Location: Roma (Italy)
x 91
x 126
Italy

Get path length (ancillary)

Post#1 by dinasset » 19 May 2017, 06:10


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.
GetPathLength.py #
(986 Bytes) Downloaded 18 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
GetPathLength.zip #
(600 Bytes) Downloaded 11 times
0 x




Registered members enjoy ads-free content
Post Reply

Last 20 Members Who Visited This Topic

User avatar gnerd (2)

  • Similar Topics
    Replies
    Views
    Last post
• Featuring Members' Works (Image Attachments Only) •
1: dinasset
2: tim
3: gnerd
4: Issabella
5: Issabella
6: david
7: Issabella

Who is online

Users browsing this forum: No registered users and 2 guests