I have a question about pixels color. I'm writing a code for subtract all colors of an image except red, but i have some problems. The result isn't what I expected. Subtracting G and B values, R comes off
equally. An other problem is how subtract black pixels?! I put here my code: