Changing colors in an image

edited December 2014 in How To...

Hi, guys! I have a series of black-and-white images. I would love to make them more interesting by changing the colors, for example from black to blue and from white to brown. How is it better to do that? I've already tried loadPixels() with pixels[], but something goes wrong...

Answers

  • Answer ✓

    Please post the code of your attempt at it. Otherwise we're explaining the whole thing to you, or writing a solution from scratch.

  • Hello! I do not need help anymore, as I have figured it out myself! Thank you.

Sign In or Register to comment.