rem 環境によって変えてね
set im=C:\Progra~1\ImageMagick-6.4.4-Q16
%im%\convert.exe -size 200x200 xc:white -matte -channel rgba -fill black -draw "ellipse 100,100,80,80,0,360" -virtual-pixel background -background white -blur 0,10 -wave 20,20 -swirl 800 sample764a.png
%im%\convert.exe -size 200x200 xc:none -matte -channel rgba -fill white -draw "ellipse 100,100,80,80,0,360" -virtual-pixel background -background none -blur 0,10 -wave 20,20 -swirl 800 -resize 200x200! sf.jpg -compose src_in -composite sample764b.png
元画像(sf.jpg)
出力画像1(sample764a.png):切り取りマスク

出力画像2(sample764b.png)

No comments:
Post a Comment