以下のバッチファイルを実行します。
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)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNXXCp-GFzAQaN03kO-05DbUjAoev5XaIFa1EGIU6XywngGR1aGTR893w_TbvSfkcMNDJJRs7n-n-iqe5txelA8qoUc2dDMkPT8Ey44cLp2dhz4n7gyZs44E-QN4HCSIiJKt8h/s320/sample8.jpg)
出力画像(sample141b.jpg)
No comments:
Post a Comment