質問

私は、以下のコマンドを創出するスプライトを含む通常の状態で推移状態:

convert -background none -pointsize 11 -fill white -size 100x -gravity NorthWest caption:'Test' top.png
convert -background none -pointsize 11 -fill grey -size 100x -gravity SouthWest caption:'Test' bottom.png
montage top.png bottom.png -geometry +0+0 -tile 1x2 -background none test.png

私の作成は、その像。pngでした。pngを組み合わせをテストです。png"となります。

があるので、いいことなく書きの上下の画像をディスクとは?

でパイプは、コマンドがいかがですか?

更新:液

montage \
  <(convert -background none -pointsize 11 -fill white -size 100x -gravity NorthWest caption:'Test' png:-) \
  <(convert -background none -pointsize 11 -fill grey -size 100x -gravity SouthWest caption:'Test' png:-) \
  -geometry +0+0 -tile 1x2 -background none test.png
役に立ちましたか?

解決

この 完全に 未審査、必ずバックアップに関連する画像の試験の前に:

montage \
  <(convert -background none -pointsize 11 -fill white -size 100x -gravity NorthWest caption:'Test' png:-) \
  <(convert -background none -pointsize 11 -fill grey -size 100x -gravity SouthWest caption:'Test' png:-) \
  -geometry +0+0 -tile 1x2 -background none test.png

(これを"代替工程")

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top