Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
automate layer movement
#10
Thanks so much!!!

Some questions
  • See screenshot: what is the difference between image and drawable?
  • See screenshot: runmode parameter you never need to use?
  • how can I specify the "current folder" (where the source gimp file is) in the python_fu_ofn_export_layers ? So I want a way the images are exported to the same folder as my gimp file (whatever that is for each file)
  • Do I need to restart GIMP for each code change in a plugin?

I was also wondering if you think there is a way to automate a "select by color" on the image for the color black of the squares, the blue color of the border around the squares, removing both selections and adding an alpha layer (so it becomes transparent)
See screenshot for this result

Can this all be done in the plugin, before all other operations? (so at the beginning of everything). I was thinking maybe you can define the point (x,y) where the "select by color" hits the image and then delete this selection (but I don't know if this is possible)
Maybe this can only be done manually in gimp?

Thanks


Attached Files Thumbnail(s)
       
Reply


Messages In This Thread
automate layer movement - by gimpygirl - 02-27-2024, 01:02 AM
RE: automate layer movement - by Ofnuts - 02-27-2024, 01:15 AM
RE: automate layer movement - by gimpygirl - 02-27-2024, 01:19 AM
RE: automate layer movement - by Ofnuts - 02-27-2024, 09:25 AM
RE: automate layer movement - by rich2005 - 02-27-2024, 05:01 PM
RE: automate layer movement - by gimpygirl - 02-27-2024, 05:19 PM
RE: automate layer movement - by nelo - 02-28-2024, 10:06 AM
RE: automate layer movement - by rich2005 - 02-27-2024, 05:39 PM
RE: automate layer movement - by gimpygirl - 02-27-2024, 06:02 PM
RE: automate layer movement - by rich2005 - 02-27-2024, 08:30 PM
RE: automate layer movement - by gimpygirl - 02-28-2024, 12:32 AM
RE: automate layer movement - by Ofnuts - 02-28-2024, 01:32 AM
RE: automate layer movement - by gimpygirl - 02-28-2024, 05:33 AM
RE: automate layer movement - by Ofnuts - 02-28-2024, 10:11 AM
RE: automate layer movement - by gimpygirl - 02-28-2024, 06:05 PM
RE: automate layer movement - by Ofnuts - 02-29-2024, 12:42 AM
RE: automate layer movement - by gimpygirl - 02-29-2024, 01:09 AM
RE: automate layer movement - by Ofnuts - 02-29-2024, 02:12 PM
RE: automate layer movement - by rich2005 - 02-28-2024, 07:13 PM
RE: automate layer movement - by gimpygirl - 02-29-2024, 12:04 AM

Forum Jump: