Adjust Blue channel
-
- Posts: 18
- Joined: 2014-03-14T10:10:54-07:00
- Authentication code: 6789
Adjust Blue channel
I have a request from a user to adjust the blue channel from 1.00 to 1.13 as in Photoshop. I understand that the -level operator is to be used, but can someone explain to me the correct usage of that operator in this context. Unfortunately, my graphics understanding is limited. Thanks for any info anyone can provide to enlighten me on how to achieve the desired effect.
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Adjust Blue channel
Even if I used Photoshop (which I don't), I'd need more information than that. Which PS operation is used? What PS measurement gives "1.00" or "1.13"?centesimiae wrote:I have a request from a user to adjust the blue channel from 1.00 to 1.13 as in Photoshop.
snibgo's IM pages: im.snibgo.com
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Adjust Blue channel
try
Code: Select all
convert image -channel blue -evaluate multiply 1.13 +channel result
-
- Posts: 18
- Joined: 2014-03-14T10:10:54-07:00
- Authentication code: 6789
Re: Adjust Blue channel
From my limited understanding, Photoshop has a channel mixing interface that you can use to adjust individual channels. I am thinking that those numbers translate to a 13% increase of the blue channel in the image. Sorry, that's all I understand at the moment. I'll try to post more once I do some more research. I was hoping someone could give me a laymen's explanation on how to use the -level operator.
-
- Posts: 18
- Joined: 2014-03-14T10:10:54-07:00
- Authentication code: 6789
Re: Adjust Blue channel
Yes, I think that is exactly what I was looking for. Thank you so much for your effort and expertise!!!
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Adjust Blue channel
It is the channel mixer in PS, where they use percent, so 113% which translates to multiply by 1.13. It has nothing to do with -level. For that see http://www.imagemagick.org/Usage/color_mods/#levels