Thu Apr 20, 2017 8:41 am
Thu Apr 20, 2017 9:30 am
ironcates wrote:I'm trying to stamp an image with an overlay and when I use gimp_paintbrush it stamps with the current foreground color, but the brush is multicolored. The documentation says that it will do that. Is there a hack to get it to do what I want it to do?
Thanks!
Thu Apr 20, 2017 9:38 am
pdb.gimp_paintbrush(drawable, 0, 2, (image.width/2,image.height/2), PAINT_CONSTANT, 0)
Thu Apr 20, 2017 9:43 am
ironcates wrote:Yes, I figured out my error. My gradient length was set to 1 instead of 0.
This ended up working:
- Code:
pdb.gimp_paintbrush(drawable, 0, 2, (image.width/2,image.height/2), PAINT_CONSTANT, 0)