Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
User paintbrush input?
#1
Question 
Hi! I'm a beginner to scripting in Gimp (I'm using Python-Fu) and have a quick question to see if what I want to script is even possible. 

I want to be able to create my own selection technique that colors pixels based on a users paintbrush input. (The painted pixels would then be used to draw the segmentation.) I've done some digging in the PDB but have been getting stuck when it comes to obtaining this type of user input (I know you can pass in a paintbrush as a basic parameter but am not sure how you would be able to keep track of where a user has painted on an image). 

Does anyone 1) know if this is possible and 2) would be able to point me in the right direction if it is? Thank you so much. 

(I'm running Gimp 2.10 on Mac Mojave.)
Reply


Messages In This Thread
User paintbrush input? - by nobl - 07-01-2019, 08:55 PM
RE: User paintbrush input? - by Ofnuts - 07-01-2019, 09:10 PM
RE: User paintbrush input? - by nobl - 07-01-2019, 11:29 PM
RE: User paintbrush input? - by tmanni - 07-02-2019, 08:47 AM
RE: User paintbrush input? - by nobl - 07-02-2019, 04:56 PM

Forum Jump: