How could we create Monochrome effect in an image? I mean I want to get for example red color and set it in pixels of image that have blue color. In the other words repalce red with blue.
I know we should use pixel[], get(x,y), and set(). But I don’t know how write it in code. Can you please write a simple code for this purpose to understand it better? I try but I couldn’t.
1