以下のバッチファイルを実行します。
rem 環境によって変えてね
set im=C:\Progra~1\ImageMagick-6.3.3-Q16
%im%\convert.exe -size 100x100 xc:none -channel RGBA -fill white -draw "roundrectangle 5,5 94,94 10,10" sample8.jpg -compose src_in -composite sample141a.png
%im%\convert.exe -size 100x100 xc:none -fill none -stroke white -strokewidth 6 -draw "roundrectangle 5,5 94,94 10,10" -shade 135x25 -blur 0x1 -normalize sample141a.png -compose overlay -composite sample141b.png
元画像(sample8.jpg)

出力画像(sample141b.jpg)
No comments:
Post a Comment