I have the need for a batch cut-and-paste script.
There are 3 images. In each image there are 3 regions I need to copy-and-past one-by-one into a 4th image at a given location.
Sometimes the copy needs to be rotated by 180 degrees.
3 regions will be different in all 3 images.
New image size, region size and the position to paste into will be hard-coded in the script and never change.
3 source images:

Sketched result:
http://bit.ly/d31NuG
Images for testing (also available as a .zip):
http://bit.ly/9lYTxT
Any chance for this? I searched and couldn't find anything to adapt.
Thanks,
Jan
Pseudo code:
Create new image 9000 x 6000 named 123
Open image 1
Copy selection 0,0 to 3000,6000
paste into image 123 at 0,0
Copy selection 3000,0 to 6000,6000
paste into image 123 at 3000,0
rotate 180 degrees
Copy selection 6000,0 to 9000,6000
paste into image 123 at 6000,0
Close image 1
Open image 2
Copy selection 0,0 to 3000,6000
paste into image 123 at 0,0
rotate 180 degrees
Copy selection 3000,0 to 6000,6000
paste into image 123 at 3000,0
Copy selection 6000,0 to 9000,6000
paste into image 123 at 6000,0
rotate 180 degrees
Close image 2
Open image 3
Copy selection 0,0 to 3000,6000
paste into image 123 at 0,0
Copy selection 3000,0 to 6000,6000
paste into image 123 at 3000,0
rotate 180 degrees
Copy selection 6000,0 to 9000,6000
paste into image 123 at 6000,0
Close image 3
rotate image 123 90 deg counter-clock-wise.
Save image 123 at home/me/folder as jpeg with 80% quality.

Help











