rem 環境によって変えてね
set im=C:\Progra~1\ImageMagick-6.4.2-Q16
%im%\convert.exe sf2.jpg -blur 0x1 -fx "p*0.7+rand()*0.3" -colorspace gray -emboss 1 ( -size 300x225 gradient:#FFFF1050-#3070A050 ) -composite sample520a.png
上記のバッチでは、以下の処理を実行しています。
1. かるくぼかしをかける。
2. ランダムにノイズをかける。
3. 白黒に変換
4. エンボス処理
5. 半透明グラデーションと合成
元画像(sf2.jpg)

出力画像(sample520a.png)

関連項目
RMagickで画像をグラデーションのかかった砂地ぽく加工する
No comments:
Post a Comment