I'm writing a script which is supposed to convert the alpha channel of a layer into a selection, and then stroke that selection with various paint tools. Easy to do through the GUI, but its turning out to be rather hard to script.
The best I've been able to do so far was convert the selection into a path, get the path points, and use them for input into gimp_smudge, gimp_convolve, etc. Unfortunately, this a) produces somewhat different results and b) sometimes causes python-fu to segfault. What I'd really like to do is choose the active tool and then call gimp_edit_stroke to stroke it over the selection. So my question is this: how can I choose the active tool from a script? Thanks. _______________________________________________ Gimp-user mailing list Gimp-user@lists.xcf.berkeley.edu http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user