02-27-2024, 01:15 AM
(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'),