以下のバッチの方法で、コントラストを落とすこともできます。
rem 環境によって変えてね
set im=C:\Progra~1\ImageMagick-6.3.8-Q16
%im%\convert.exe sf2.jpg -fx "p*0.6+0.2" sample321a.png
rem 彩度を落として、青っぽく着色
%im%\convert.exe sf2.jpg -fx "luminosity*0.2+0.4" -fill #bbddff -tint 120 sample321b.png
元画像(sf.jpg)

出力画像(sample321a.png)

出力画像(sample321b.png)

2008/07/13追記
ver6.4.0あたりからluminosityからlightnessに変わったので、以下のバッチを実行します。
rem 環境によって変えてね
set im=C:\Progra~1\ImageMagick-6.4.2-Q16
%im%\convert.exe sf2.jpg -fx "p*0.6+0.2" sample321a.png
%im%\convert.exe sf2.jpg -fx "lightness*0.2+0.4" -fill #bbddff -tint 120 sample321b.png
関連項目
ImageMagickでコントラストを変更する
No comments:
Post a Comment