第3(X)・第4(Y)パラメータを変更します。
rem 環境によって変えてね
set im=C:\Progra~1\ImageMagick-6.3.2-Q16
rem 左上に影
%im%\convert.exe sample128a.png ( +clone -background black -shadow 40x3-3-3 ) +swap -background white -flatten sample129a.jpg
出力画像(sample129a.jpg)

rem 左下に影
%im%\convert.exe sample128a.png ( +clone -background black -shadow 40x3-3+3 ) +swap -background white -flatten sample129b.jpg
出力画像(sample129b.jpg)

rem 真下に影
%im%\convert.exe sample128a.png ( +clone -background black -shadow 40x3+0+6 ) +swap -background white -flatten sample129c.jpg
出力画像(sample129c.jpg)

No comments:
Post a Comment