LoginSignup
0
1

More than 5 years have passed since last update.

ImageMagick > 画像のoverlapping > composite -compose over LN.png background.png out.png

Last updated at Posted at 2016-11-11
動作確認
CentOS 6.8
Version: ImageMagick 6.7.2-7 2016-06-16 Q16 http://www.imagemagick.org

透明色を持つ画像と、背景に使う画像を合成して、1つの画像にする方法を調べた。

参考 http://imagemagick.rulez.jp/archives/672

以下によりLN.png(透明色を持つ画像)と背景画像を合成してout.pngを作成できた。

$ composite -compose over LN.png background.png  out.png

画像は2枚まで

(追記 2017/10/03)

合成できる画像は2枚のようだ。
3枚以上で合成しようとすると、予期しない画像が生成される。

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1