Image 3 Exercises

1. Add code inside the loop to modify flowers.jpg like this: set each pixel to have red 255, green 0, blue 0.


2. Add code inside the loop to modify flowers.jpg like this: set each pixel to have green of 0, leaving red and blue unchanged. The result should be that the flowers look red, since the yellow was made of red+green light.