Background
During my online D&D session I grab period screen captures of the active window which is showing a 2D map or the area my token can see. As a result, all the images are the exact same size, and part of the image I do not want to keep are always in the exact same spot and the exact same size. My ultimate goal is to trim down the images to just the just the map portion and then stitch them all together to create and over all map.
In terms of research, I tired searching this site for GIMP BIMP BATCH CUT. I found this question, but it was mainly photoshop macro recording and a slightly different issue.
Plan
Using Gimp with BIMP plug-in for batch processing
- Perform the same crop on all pictures to remove most of the excess boarder crud that is not wanted
- Cut the residual crud using selection identical selections boxes and locations. Repeat this for each piece to be cut out.
- Convert the black to transparent or white so that only the map remains. Hope this helps with stitching process
Using Hugin to stitch
- Dump all the photos into Hugin for auto alignment and stitching. I do not need perfect or even high quality results as I plan to then use the stitched image for rough tracing.
Tracing from a single image is much faster then pulling in, scaling and aligning the individual files.
What I have tried
I used BIMP to perform two separate runs to achieve the basic crop. I used two opposite reference corners and supplied appropriate dimensions for height and width. This has left me with an images that look something like this:
Question
How can I batch process the same cut out via batch processing?
Before:
After:
Ultimate:
Alternatively is there an alternate way to achieve the batch processing goal?
Alternate Image
Same screen but on a different part of the map to show how it moves around.