06-27-2021, 01:02 PM
A bug fix. New version 0.10 is at the old place:
http://kmarkku.arkku.net/Path_modify_fil...aster.html
What was wrong was that I had forgotten that a selection does not go outside of the canvas. So, if a pixel is outside of the canvas then Gimp does not allow testing if the pixel is in the selection. So, if one applied the plugin to a path with some anchor outside of the canvas and chose any other option than "Ignore any selection" then an error occurred.
This same bug was in two other plugins as well (fixed now).
Even after the fixes this problem remains: Suppose we want to restrict the effect of the plugin to some anchors, and to that end we need to select some anchors outside of the canvas. That can be done only(?) with the workaround that Rich found here:
https://www.gimp-forum.net/Thread-Select...0#pid24250
http://kmarkku.arkku.net/Path_modify_fil...aster.html
What was wrong was that I had forgotten that a selection does not go outside of the canvas. So, if a pixel is outside of the canvas then Gimp does not allow testing if the pixel is in the selection. So, if one applied the plugin to a path with some anchor outside of the canvas and chose any other option than "Ignore any selection" then an error occurred.
This same bug was in two other plugins as well (fixed now).
Even after the fixes this problem remains: Suppose we want to restrict the effect of the plugin to some anchors, and to that end we need to select some anchors outside of the canvas. That can be done only(?) with the workaround that Rich found here:
https://www.gimp-forum.net/Thread-Select...0#pid24250
- Extend the canvas temporarily (easily with the Crop tool with option "Allow growing").
- Make the selection.
- Call the plugin.
- Crop the canvas back (Image -> Crop to content).