rem 環境によって変えてね
set im=C:\Progra~1\ImageMagick-6.3.7-Q16
%im%\convert.exe -size 200x200 xc:none -channel rgba
-fx "(100-i)^2+(100-j)^2<=(floor((atan2(100-i,100-j)+2*pi)/(pi/24))%%2*20+70)^2?1:0" sf.jpg -compose srcin -composite sample268a.png
元画像(sf.jpg)
出力画像(sample268a.png)

関連項目
ImageMagickで、画像を回転刃のように切り取る
No comments:
Post a Comment