GIMP Chat http://gimpchat.com/ |
|
Python Fu gimp_paintbrush http://gimpchat.com/viewtopic.php?f=9&t=15496 |
Page 1 of 1 |
Author: | ironcates [ Thu Apr 20, 2017 8:41 am ] |
Post subject: | Python Fu gimp_paintbrush |
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! |
Author: | Wallace [ Thu Apr 20, 2017 9:30 am ] |
Post subject: | Re: Python Fu gimp_paintbrush |
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! Does the brush appear multicolored within the Brush Toolbox? Such as the brush, which can be seen in the screenshot below. ![]() |
Author: | ironcates [ Thu Apr 20, 2017 9:38 am ] |
Post subject: | Re: Python Fu gimp_paintbrush |
Yes, I figured out my error. My gradient length was set to 1 instead of 0. This ended up working: Code: Select all pdb.gimp_paintbrush(drawable, 0, 2, (image.width/2,image.height/2), PAINT_CONSTANT, 0) |
Author: | Wallace [ Thu Apr 20, 2017 9:43 am ] |
Post subject: | Re: Python Fu gimp_paintbrush |
ironcates wrote: Yes, I figured out my error. My gradient length was set to 1 instead of 0. This ended up working: Code: Select all pdb.gimp_paintbrush(drawable, 0, 2, (image.width/2,image.height/2), PAINT_CONSTANT, 0) ![]() |
Page 1 of 1 | All times are UTC - 5 hours [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |