Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
automate layer movement
#2
(02-27-2024, 01:02 AM)gimpygirl Wrote: Hi

Referring to this post:

https://www.gimp-forum.net/Thread-Cut-sq...from-iamge

I use the method with the guides and 2 python scripts.

2 questions:

1. Is it possible to automate layer movement? The images all have the same size. The layer needs to be moved in order to fit the guides of size 150 px. Is there a plugin or script that can let me move a layer to a position by entering x,y values or something?



2. Is is possible for the ofn-export-layers to have {numUp0}.png appear automatically so that I don't need to enter it each time when i run gimp?

What movement? If you use ofn-tiles, it will do the cut every 150px before the export if this is what you need. No need to move the layers?

You can edit the script, but then you are on your own. Search a line that looks like:

(PF_STRING,     'namePattern',  'Tile name',   '{imageName}-{column1:02d}-{row1:02d}.png'),

and replace the last string:

(PF_STRING,     'namePattern',  'Tile name',   ' {numUp0}.png'),
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: