Batch Merge of Map tiles

Anyone, especially newbies, asking for help with Photoshop Scripting and Photoshop Automation - as opposed to those contributing to discussion about an aspect of Photoshop Scripting

Moderators: Tom, Kukurykus

kirillall

Batch Merge of Map tiles

Post by kirillall »

Hello guys. I need your help.I do quick search about this or something similar - no result.
So.
I have 2 folders (Map and Hybrid) with lot of folders inside each (z11, z12, z13....etc). Each of z11, z12..... contain more folders with some structures and finaly inside them contains many jpg and png in Map folder (with opacity). This is saved caches of satelite maps (jpg) and hybrid layer (png) from SAS Planet.
Names of folders in this 2 folders are identical, only different files.
I need script that open each file from 1 folder (MAP-jpg) merge on top of it identical file from 2 folder (Hybrid - png) - and save this to jpg with identical name and folder structure to new folder 3.
How hard this to goal?