以下のバッチファイルを実行します。
rem 環境によって変えてね
set im=C:\Progra~1\ImageMagick-6.3.3-Q16
%im%\convert.exe -size 150x150 xc:white ( sample2.png -background none -gravity center -extent 150x150 ) ( +clone -background #000000 -shadow 40x2+3+3 -motion-blur 0x20+225 ) +swap -mosaic sample148a.jpg
元画像(sample2.png)

出力画像(sample148a.jpg)

関連項目
ImageMagickとPHPで透過PNGに影付けして、影にモーションブラーをかける
ImageMagickとPHPで、文字列にモーションブラーをかける
No comments:
Post a Comment