Two problems, order and tile
Posted: 2010-04-15T05:07:23-07:00
Hi, first sorry my english, and i make the post long, but i dont know how to write in english in a short way...
First problem resolved, thanxs fmw42 for the help
The second problem, is in montage command, i need to define "-tile 32x1" to make one big image from my 32 images in one row and 32 columns. But there this is not very comfortable, because i need to make a batch, and always i have different number of images,
there is a automatic way to tell montage the tile comand, like " -tile *x1 "
Thanxs for your help
First problem resolved, thanxs fmw42 for the help
I use imagemagick (windows) to cut a number of images (SPRITE1.BMP, SPRITE2.BMP..etc) in small 32x32 pieces, and then make one image of all
works perfect, but i have a problem, the output isCode: Select all
mogrify -crop 32x32 *.bmp
When i need to make one image of all, i use the command montage (if i have 32 images)Code: Select all
sprite1-0.BMP, sprite1-1.BMP ..... sprite1-11.BMP sprite2-0.bmp... sprite2-12.bmp etc etc
The problem here is that the order is incorrect, montage order in this wayCode: Select all
montage -geometry +0+0 -tile 32x1 *.bmp out.bmp
when i need to order, that sprite 1-10 is after sprite1-9.. [/size]Code: Select all
sprite1-0, sprite1-1, sprite1-10, sprite1-2, sprite1-20... etc
The second problem, is in montage command, i need to define "-tile 32x1" to make one big image from my 32 images in one row and 32 columns. But there this is not very comfortable, because i need to make a batch, and always i have different number of images,
there is a automatic way to tell montage the tile comand, like " -tile *x1 "
Thanxs for your help