I have tried to do this myself and searched the forums for about an hour looking for the correct solution, but my efforts have been fruitless.
I have 243 images, each 256x256px that when combined make one larger gigapixel style image. I don't need anything other than a command to combine them into 9 rows and 27 columns. Well, I don't want any borders. It should be seamless, so that might require a command.
Their naming sequence is in a single directory and per row is ordered as follows
1st row: 0000-0000.jpg - 0000-0026.jpg
2nd row: 0001-0000.jpg - 0001-0026.jpg
... all the way to ...
9th row: 0008-0000.jpg - 0008-0026.jpg
Any help would by greatly appreciated.
To make it more simple, here's a shot of what it looks like just using Explorer to resize them.
Thank you!
Stitching Image Set Together
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Stitching Image Set Together
What version of IM? What script language?
You could do it in a pair of nested "for" loops, to build lists of input images.
You could do it in a pair of nested "for" loops, to build lists of input images.
snibgo's IM pages: im.snibgo.com
- GeeMack
- Posts: 718
- Joined: 2015-12-01T22:09:46-07:00
- Authentication code: 1151
- Location: Central Illinois, USA
Re: Stitching Image Set Together
To assemble all the input images into one output image, 27 wide by 9 high, and if the images don't require shaving any borders or edges, you could run a single command like this...FlintLuck wrote: ↑2018-02-27T03:03:08-07:00I have 243 images, each 256x256px that when combined make one larger gigapixel style image. I don't need anything other than a command to combine them into 9 rows and 27 columns. Well, I don't want any borders. It should be seamless, so that might require a command.
Code: Select all
convert *.jpg +append -crop 9x1@ -append output.png
Re: Stitching Image Set Together
I'm using Python for the script and ImageMagick-7.0.7-24-Q16-x64-dll
Here's a full size image of one of the blocks
Here's a full size image of one of the blocks
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Stitching Image Set Together
What about using montage
Code: Select all
montage *.jpg -tile 27x9 -geometry +0+0 result.jpg
Re: Stitching Image Set Together
Ha, it was really that simple. Thank you so much!!