rem 環境によって変えてね
set im=C:\Progra~1\ImageMagick-6.3.7-Q16
%im%\convert.exe -size 300x225 xc:none -matte -channel rgba -fill white -draw "ellipse 130,110,100,100,0,360" -blur 0x10 sf2.jpg -compose src_in -composite sample301a.png
rem 重ねあわせ例
%im%\convert.exe sf.jpg sample301a.png -resize 250 -geometry -30-30 -composite +repage sample301b.jpg
元画像(sf2.jpg)

出力画像(sample301a.png)

重ねあわせ例(sample301b.png)

関連項目
ImageMagickで、波型の円で端をぼかして切り取る
RMagickで、端が半透明の円形に画像を切り取る
No comments:
Post a Comment