Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
batch joining many jpgs - possible?
#1
I have a large number of jpg of exactly the same format.

 the are maps.

 the inside areas of each match the inside areas of others, meet  up, coincide

 The thing is to get the borders off and join them into one large map that I can then select different areas and shapes from.

 Is there a way to do this quiickly, easily in gimp, even by batch perhaps?

here's a couple of samples:

map jpgs
Reply
#2
I've done something like that using Irfanview (in menu : File - Batch Conversion/Rename -  Advanced), see :  https://www.irfanview.com
Depends how information that overlaps on the different maps. You can set the values that the overlaping information is still available to stich them.

   
Reply
#3
Nice maps: 

For removing the borders, the two examples reasonably match. Assuming the others are the same you could open as layers, crop and export the layers as individual files
or
The old faithfully ImageMagick and a folder of the maps (work with copies in case anything goes wrong)

Code:
magick mogrify -crop 2300x2200+100+150 *.jpeg

100+150 is the top left offset

For stitching together, I would say not-Gimp 
Hugin is the usual these days, an older program is NIP2 Not easy to use, a quick example I made for someone https://youtu.be/jXAqv6v8j4g 

Just one comment about the maps, they do not match so hard to give an example. The northing 46⁰ 00' ok but the easting 29⁰ 00' / 29⁰ 30'   30 minutes across to the east.

   
Reply
#4
Thanks for that. Excellent. I didn't think to select maps for fit, just grabbed a couple at random. I've now put up a selection that fits from 45° 20' N 28° 30'E to 46° 20°N 30°E except that the top left map is missing. I don't have it.

I will try explore the leads you've given me. Image Magick and Hugin. Both totally new to me.

Same imgur link: https://imgur.com/a/FVK20I5

Smile

(12-03-2022, 09:59 AM)denzjos Wrote: I've done something like that using Irfanview (in menu : File - Batch Conversion/Rename -  Advanced), see :  https://www.irfanview.com
Depends how information that overlaps on the different maps. You can set the values that the overlaping information is still available to stich them.

Thanks for this.  I will look into it,  see if I can do it.  Excellent.   Smile
Reply


Forum Jump: