![]() |
Looking for a good name |
This Python plugin swaps pixels across a path, ie, it takes the color of a pixel on one side of the path and exchanges it with the color of a diametrically opposed pixel from the other side.
TBD
Get the python module here and copy it to your Gimp plugin installation directory, normally, either:
{your Gimp installation directory}/lib/gimp/2.0/plug-insfor a public installation (available to all users)
{your user profile}/.gimp-2.6/plug-insfor an individual installation (on Unix systems, the .gimp-2.6 directory is not displayed by default in file managers).
On Unix platforms, don't forget to set the executable bit (this requires root priviledges if you do it in the Gimp installation directory).
Once GIMP is started (or restarted) menu entry should appear as
Filters/Noise/Swap pixels across path...in the image window menubar.
This plugin requires an active path (the selection can be changed into a path)
There are three parameters are required:
If the path has sharp angles, the exterior of such angles can be left unaffected. In other words, avoid sharp angles. If the path comes from a selection, you can blur the selection before changing it to a path, and still apply the filter on the sharp data.
I can be contacted via the GIMP plugin registry.
Otherwise I also hang out on:
This plugin has been developed on Linux, so its correct behavior on other platforms (Windows, OSX) although expected, is not guaranteed.
This plugin is for GIMP 2.6. Tests on 2.7 gladly accepted.
This plugin can be a CPU hog with long enough paths and a wide enough area.