Turn Blue pixels into Red Pixels
in
Programming Questions
•
2 years ago
Hi there!
I'm having some trouble with an exercise...
I'm suppose to turn all the blue pixels of a jpg into red ones... and when the Blue amount of a Pixel is over 180, I shall turn it down to 150 and increase the Red abount to 220. Additionally I'm supposed to keep in mind that bright pixel have also a high amount of blue, without looking blue, sothat I shall find an additional criteria, to exclude those pixels.
Has anybody got an Idea?
Sry that Im so noob...
I'm having some trouble with an exercise...
I'm suppose to turn all the blue pixels of a jpg into red ones... and when the Blue amount of a Pixel is over 180, I shall turn it down to 150 and increase the Red abount to 220. Additionally I'm supposed to keep in mind that bright pixel have also a high amount of blue, without looking blue, sothat I shall find an additional criteria, to exclude those pixels.
Has anybody got an Idea?
Sry that Im so noob...
1