문제

I have many, many pictures that I try to concatenate together.

They all follow a similar naming convention.

  • $Child_HF2_5.png
  • $Child_HF2_5_ISO.png
  • $Child_HF2_5_POSE.png
  • $Child_HF2_6.png
  • $Child_HF2_6_ISO.png
  • $Child_HF2_6_POSE.png
  • $Dwarf_TD_Female_3.png
  • $Dwarf_TD_Female_3_ISO.png
  • $Dwarf_TD_Female_3_POSE.png

I want to concatenate vertically images with similar names together. They also all have the same size.

Ex:

  • $Child_HF2_5.png +
  • $Child_HF2_5_ISO.png +
  • $Child_HF2_5_POSE.png

to form a new picture named $Child_HF2_5_FULL.png


What software would you recommend me to use to do such a thing and how hard would it be?

도움이 되었습니까?

해결책

I think that ImageMagick could be a great choice. It shouldn't be too difficult, for example you can try this command:

montage $Child_HF2_5*.png -tile 1x3 -geometry +0+0 $Child_HF2_5_FULL.png

In this sample command I had 3 images, so I used -tile 1x3; if you have n images you'll have to use -tile 1xn

input:

$Child_HF2_5.png $Child_HF2_5_ISO.png $Child_HF2_5_POSE.png

output:

$Child_HF2_5_FULL.png

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top