简体   繁体   中英

Trying to make 3 x 3 montage of 9 images using ImageMagick but getting error for command line command

I am trying to make a large montage of 9 images in a grid of 3x3 on my windows 10 laptop. Image size of all 9 images are same. I did a research on Internet and found how to do it either vertically or horizontally but not for a array of images or grid. I downloaded ImageMagick software from their website to use their command line options as shown in this page but when I use the command given below, I get error montage is not recognized as an internal or external command, operable program or batch file

Please help or suggest another way to do it. Thanks

Here is the command I am using montage 1.jpg 2.jpg 3.jpg 4.jpg 5.jpg 6.jpg 7.jpg 8.jpg 9.jpg -geometry +3+3+3 montage_geom.jpg

Your montage ImageMagick syntax is incorrect. Try

magick montage 1.jpg 2.jpg 3.jpg 4.jpg 5.jpg 6.jpg 7.jpg 8.jpg 9.jpg -geometry +3+3 -tile 3x3 montage_geom.jpg

-tile specifies the 3 rows and 3 columns structure
-geometry specifies the horizontal and vertical spacing between images

If using the older v6 ImageMagick , omit the magick at the start of the command.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM