You are here

Smooth Path (new)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Rate this item!

This plugin will take the active path and smooth it, using a Bezier
interpolation algorithm. If you've ever wanted to define a bunch of
points, and then have the GIMP draw a smooth path through them, this
plugin is for you. There is the option to smooth corners between a
range of angles.

Settings include:

  • Smooth only specified corners: If checked,
    only corners whose interior angles lie between the two settings below
    will be smoothed.
  • Minimum angle: Corners blunter (greater) than
    this angle will be smoothed.
  • Maximum angle: Corners sharper (less) than this
    angle will be smoothed.

This plugin creates a new entry in the Paths dialog right-click menu.

For details of the algorithm used in this plugin, see here:

http://www.math.ucla.edu/~baker/java/hoefer/Spline.htm

Be sure to read the readme.txt file for installation and user help.

Thanks to Rob Antonishen for his valuable contributions.

AttachmentSize
smooth-path.zip16.76 KB
smooth_demo.png15.42 KB
smooth_settings.png100.85 KB
GIMP Version: 
Code License: 

Comments

Using gimp 2.8.2 64 bit, on Windows 7 64-bit ultimate. I have the active path selected, then right-click on it in the paths dialog, and only get the standard actions: Path Tool, Edit Path Attributes, New Path....Copy Path, Paste Path, Export Path, Import Path.

I tried both the standard and 64-bit binaries with no luck. I put the binary in the following path: D:\PROGRAMS\GIMP-2.0\lib\gimp\2.0\plug-ins

Any ideas?

Hi

Great tool, works really quick.

I'd like to suggest a feature that I should be able to smooth only a selection of points on the current path.

Is that possible some how?

Paul

http://www.aljacom.com/~gimp/smooth-path_1-64bits.zip

Tests : Gimp GIMP 2.6.9 (http://sourceforge.net) 64 bits & Gimp 2.7.2 - Gimp 2.7.3 64 bits (Partha http://partha.com) / Windows7 64 bits

Hi, Does this work on a Mac (Snow Leapord)?

You have the C source code to my plugin. So you need to compile it. I suspect that you can only do that if you installed the GIMP from source, which is probably a tedious process, described here:

http://darwingimp.sourceforge.net/buildgimp.html

And see here:

http://gimper.net/viewtopic.php?f=17&t=777

But once you have done that, then you simply run the following command on my source code like so:

gimptool-2.0 --install smooth-path.c

and that should install the plugin.

If I owned a Mac I would have made it much easier for you. :-)

i had to add a line of text (that..hem...may looks a bit self-contradictory )to make the edit accepted

Hi,
I could not get this to work on windows with Gimp 2.6.7
or 2.6.3.
And I made sure the plugin was in the right place.

Works for me.

Please describe the steps you've done so far, and tell what happens and what doesn't happen.

It works, I didn't have the paths-dialog open and was right clicking on the image instead of in the paths-dialog.

Thank you very much, ijontichy!

Subscribe to Comments for "Smooth Path (new)"