简体   繁体   中英

How generate tiles 3x3 with im4java?

can you help me with im4java? I need to generate tiles 3x3 from 9 jpg-picture. How do I do it?

I do not know im4java, but in ImageMagick command line you can do that as follows. I will use the same JPG picture 9 timed for simplicity.

montage lena.jpg -duplicate 8 -tile 3x3 -geometry +0+0 lena9a.jpg

在此处输入图像描述

Alternately,

convert lena.jpg \
\( -clone 0 -duplicate 2 +append \) \
\( -clone 0 -duplicate 2 +append \) \
\( -clone 0 -duplicate 2 +append \) \
-delete 0 \
-append lena9b.jpg

在此处输入图像描述

Just replace my duplicate commands with your other images

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