Batch from 2 directories to apply mask



Hi I need to adapt the process imj script in order to open a mask image from one directory and apply it to its respective image in another directory (transparent-zero)… (I will then analyse that final image).

Can anyone guide my approach here? (should I look to intermediate rename files?)