rem 環境によって変えてね
set im=C:\Progra~1\ImageMagick-6.3.7-Q16
%im%\convert.exe -size 100x100 xc:none -matte -channel rgba -fill white +antialias -draw "ellipse 50,50 40,40 0,360" -negate -blur 0x10 ( -size 100x100 xc:none -fill white +antialias -draw "ellipse 50,50 40,40 0,360" ) -compose src_in -composite sample266.png
rem 重ね合わせ
%im%\convert.exe sf.jpg -geometry +50+50 sample266.png -composite sample266b.jpg
出力画像(sample266b.jpg)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiA_FNkACEo-qNCx-6GFRUxRx8kY1fBeSYGvySPkb7zv_kgj5NDsMOk1P6hJKnQfeRVqkSSvoA99Vi6qrVy8otfqNNWS0aewE1qNH02-8WINpo3c9kRkHDXM4pu54iLbGckR6sz/s320/sample266b.jpg)
No comments:
Post a Comment