I think I'm going to stick with the "-evaluate subtract" method, though, as it involves far less typing and leaves far less room for my n00biness to make errors.
Search found 3 matches
- 2010-08-15T19:25:39-07:00
- Forum: Users
- Topic: Changing RGB values of all pixels in an image
- Replies: 7
- Views: 21298
Re: Changing RGB values of all pixels in an image
Well, that's equally interesting. Thank you for that.
I think I'm going to stick with the "-evaluate subtract" method, though, as it involves far less typing and leaves far less room for my n00biness to make errors.
I think I'm going to stick with the "-evaluate subtract" method, though, as it involves far less typing and leaves far less room for my n00biness to make errors.
- 2010-08-15T17:16:53-07:00
- Forum: Users
- Topic: Changing RGB values of all pixels in an image
- Replies: 7
- Views: 21298
Re: Changing RGB values of all pixels in an image
One possibility is to use "-evaluate". But I think, you have to adjust the subtraction values to your QuantumRange here (e.g. by multiplying them with 257 for a Q16 version). Example:
convert input -channel R -evaluate subtract 19018 -channel G -evaluate subtract 28013 -channel B -evaluate subtract ...
convert input -channel R -evaluate subtract 19018 -channel G -evaluate subtract 28013 -channel B -evaluate subtract ...
- 2010-08-15T02:42:28-07:00
- Forum: Users
- Topic: Changing RGB values of all pixels in an image
- Replies: 7
- Views: 21298
Changing RGB values of all pixels in an image
Hello, all.
First of all, I want to make it clear that I have tried searching for this not only on Google but on these forums, but I haven't been able to find a solution. I apologize if this topic has already been brought up.
Essentially, I want to take an image and shift the RGB values of every ...
First of all, I want to make it clear that I have tried searching for this not only on Google but on these forums, but I haven't been able to find a solution. I apologize if this topic has already been brought up.
Essentially, I want to take an image and shift the RGB values of every ...