It could be made smarter too with column/row squeezing, rather than limiting things like montage to just fixed array tile sizes, also the handling 'gravity' justifications and allignments. But that is not yet available, unless someone would like to pull the code from montage and move it to the core library. I also would like to have the montage array handling operator in IM, EG something like -pack array 3x3 to mean append/tile the given image into 3x3 groups. You can also fake the framing and labeling methods that montage uses, not easilly (though it should be) but it should be. \( tmp7.jpg tmp8.jpg tmp9.jpg -append \) \ \( tmp4.jpg tmp5.jpg tmp6.jpg -append \) \ Of course the easiest thing is just renumber your list for montageĬode: Select all convert \( tmp1.jpg tmp2.jpg tmp3.jpg -append \) \ \( \( tmp7.jpg -transpose \) \( tmp8.jpg -transpose \) \( tmp9.jpg -transpose \) +append \) \ \( \( tmp4.jpg -transpose \) \( tmp5.jpg -transpose \) \( tmp6.jpg -transpose \) +append \) \ \( \( tmp1.jpg -transpose \) \( tmp2.jpg -transpose \) \( tmp3.jpg -transpose \) +append \) \ Miff:- | montage -geometry 30x30+0+0 -tile 3x3 miff:- | convert -transpose tmp_montage.jpgīut you can also do pretty much the same thing with convert and append: \( tmp7.jpg -transpose \) \( tmp8.jpg -transpose \) \( tmp9.jpg -transpose \) \ \( tmp4.jpg -transpose \) \( tmp5.jpg -transpose \) \( tmp6.jpg -transpose \) \ \( tmp1.jpg -transpose \) \( tmp2.jpg -transpose \) \( tmp3.jpg -transpose \) \ Now use convert to transpose them and store in multi-image miff. tmp9.jpg):Ĭonvert -size 30x30 xc:white -pointsize 24 -gravity center -annotate 0 "$i" tmp$i.jpg Unfortunately, montage does not seem to support -transpose directly, so one has to use multiple commands as follows:Ĭreate 9 numbered test images (tmp1.jpg.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |