convert works much better than montage. It arranges images vertically or horizontally and keeps png transparency.
convert *.png -append sprites.png (append vertically)
convert *.png +append sprites.png (append horizontally)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…