1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

ImageMagickで自炊画像の黄ばみを一発除去

Posted at

黄ばみ除去自体の方法はあったけどImageMagickで上書きせずにディレクトリを一括変換する方法まで合わせて載ってなかったので紹介しときます。

mogrify -path c:/tmp -channel Red -separate *.jpg

c:\tmpに出力されます。パスの区切りにスラッシュを使ってるのはnyaosを使ってるからです。cmd.exeとか辛くて使えません。

あとImageMagick自体のインストールはChocolateyでcinst imagemagickで出来ます。

~/_nya
set ImageMagick="C:\Program Files\ImageMagick-6.8.9-Q16"
set PATH+="C:\Program Files\ImageMagick-6.8.9-Q16"

とか追加しとくと色々と幸せかもしれません。

参考

「黄ばみも真っ白」って洗剤のCMみたいなこと言ってるんじゃないわよの巻 | booKNOW(ブックなう)
http://booknow.jp/laboratory/20110825rgb/

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?