More than 5 years have passed since last update.
知ってると意外と便利かもしれない。ImageMagickを使用したワンライナー。
色を変えた画像をたくさん作れるので、見てるだけでも結構楽しい。
コマンド
# 環境
$ ls
target.png
$ mkdir results
# 変換スクリプト
$ seq 100 300 | xargs -n1 -I{} convert target.png -modulate 100,100,{} results/target_{}.png
解説
seqで100-300の数字を作り出し、色相パラメータを変えてコマンドを回す。
100が通常状態、300まで回すとちょうど色相環一周とのこと。
参考
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme
