Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: GIMP Smooth Path plugin

  1. #1
      ijontichy is offline
    Guild Applicant ijontichy's Avatar
    Join Date
    Sep 2009
    Location
    /home/ijontichy
    Posts
    4

    Post GIMP Smooth Path plugin

    If you've ever wanted to define a path of points and then draw a smooth curve through those points (e.g. for rivers, roads, borders, etc), then I have created a GIMP plugin for you. The Smooth Path GIMP plugin takes the active path and smooths it according to a Bezier interpolation algorithm I will not bore you with here. Below is a screenshot to illustrate what I mean:



    You have the option of preserving corners sharper than a specified angle. A preview of what these settings do can be found here.

    Download the plugin from here or here.

    Thanks to the legendary RobA for his valuable contributions to this plugin.
    Last edited by ijontichy; 11-05-2009 at 05:47 PM. Reason: updated link

  2. #2
      zenram is offline
    Guild Journeyer zenram's Avatar
    Join Date
    Jun 2009
    Posts
    174

    Default

    Wow, im gonna try it!!! Thanks

    My work is under CC licences, you can see wich one apply in the work itself, if there is no CC logo, you can assume is an: Attribution-Noncommercial-Share Alike 3.0 Unported licence

    Need more rights, just mail me and we can chat about it.

  3. #3
      RobA is offline
    Administrator RobA's Avatar
    Join Date
    Apr 2007
    Location
    Niagara, Canada
    Posts
    5,532

    Post

    It is quite handy if you combine it with my fractalize path script (Gimp Script: Fractalize Path since I haven't added it to my sig yet, I just realized!)...

    GIMP Smooth Path plugin-sm.jpg

    Black is a stroked 2 point path.

    Green is stroked fractalize path.

    Blue is after running this excellent smooth plugin on that!

    -Rob A>

  4. #4
      Mark Oliva is offline
    Publisher Mark Oliva's Avatar
    Join Date
    Jul 2009
    Location
    Altershausen, Northern Bavaria
    Posts
    625

    Post

    Looks great!
    Mark Oliva
    The Vintyri (TM) Project

  5. #5
      zenram is offline
    Guild Journeyer zenram's Avatar
    Join Date
    Jun 2009
    Posts
    174

    Default

    Black is a stroked 2 point path.

    Green is stroked fractalize path.

    Blue is after running this excellent smooth plugin on that!

    Mmm, i will try this for sure... XD

    My work is under CC licences, you can see wich one apply in the work itself, if there is no CC logo, you can assume is an: Attribution-Noncommercial-Share Alike 3.0 Unported licence

    Need more rights, just mail me and we can chat about it.

  6. #6

  7. #7
      Ecrocken is offline
    Guild Novice
    Join Date
    Oct 2009
    Posts
    8

    Default

    I've had issues with trying to install plug-ins. Where does the smooth-path.c file belong? I THINK the regular file goes into plug-ins...? Thanks for all of the inspiration you folks provide!

    ~EC

  8. #8
      RobA is offline
    Administrator RobA's Avatar
    Join Date
    Apr 2007
    Location
    Niagara, Canada
    Posts
    5,532

    Default

    EC-

    All you need is the compiled file. The source code (.c and .h) is just there for open sourceness...

    -Rob A>

  9. #9
    Guild Novice
    Join Date
    Sep 2009
    Posts
    8

    Post

    This looks great, but how do I get it to work? I have tried running the .exe (it can't find "libgimp-2.0-0.dll"), putting both the .c and the .exe in my scripts folder (other scripts in there are working), and taking the code from the .c and making it into a plugin (I still have no idea how to do this). Am I just not finding the menu entry (I'd think it would be right around your fractalize path, RobA), or am I loading it incorrectly?

  10. #10

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •