Hi everyone, I'm writting a python-fu script and I have a problem using the gimp_edit_stroke procedure.
This is the situation, I have an a selection and want to stroke the selection using the Ink tool.
So for do that I did this (assuming I have a drawable with a selection made):
pdb.gimp_context_set_paint_method('gimp-ink')
pdb.gimp_edit_stroke(drawable)
The result is my stroked selection but with a different size compared with the configuration of the Ink tool.
So I forced the tool to have a specific size:
pdb.gimp_context_set_paint_method('gimp-ink')
pdb.gimp_context_set_ink_size(5)
pdb.gimp_edit_stroke(drawable)
And doesn't matter what size I configure, the result is always the same.
The only way to have control of the stroke it's using the gimp-paintbrush method and configuring the brush to my way, but is not what I want.
Someone know a way to make what i'm trying to do with python-fu?