Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ofn-tiles : example image
#6
(03-04-2024, 01:16 AM)gimpygirl Wrote: I just found g'mic can do it with "extract objects"! They are extracted perfectly.

Do you know if I can make a plugin that calls g'mic and how?  

Just some hints, nothing else. I do not really see that a batch operation will work.

When you find a gmic command that works, there is a button top-right that copies the command to the clip-board.

   

That gives
Code:
fx_extract_objects 7.3,17.7,20,50,0.3,0,0,1

and that goes into your script as

Code:
pdb.plug_in_gmic_qt (image, drawable, 1, 0,   "fx_extract_objects 7.3,17.7,20,50,0.3,0,0,1"),

and an example plugin attached. Unzip it. Registers in the Tools menu.

For exporting images with numbering and the layers are in the wrong 'direction' Then Layer -> Stack -> Reverse Layer Order does what it says.

Demo of that. https://i.imgur.com/49QqHmH.mp4


Attached Files
.zip   for_gmic.zip (Size: 463 bytes / Downloads: 73)
Reply


Messages In This Thread
ofn-tiles : example image - by gimpygirl - 03-03-2024, 07:56 PM
RE: ofn-tiles : example image - by Ofnuts - 03-03-2024, 08:54 PM
RE: ofn-tiles : example image - by gimpygirl - 03-04-2024, 01:16 AM
RE: ofn-tiles : example image - by Ofnuts - 03-04-2024, 09:09 AM
RE: ofn-tiles : example image - by rich2005 - 03-04-2024, 02:14 PM
RE: ofn-tiles : example image - by Ofnuts - 03-03-2024, 08:54 PM

Forum Jump: