Question: Lab Practice 3 References: CS5 code from Chapter 5 in the book Introduction to computing using pyton and Lecture notes. To get a feel for
Lab Practice 3 References: CS5 code from Chapter 5 in the book Introduction to computing using pyton and Lecture notes.
To get a feel for colors, play with this link and related web pages. https://www.w3schools.com/colors/colors_rgb.asp
TO DO: Using PIL module within python,take a picture and make a copy of it with the red color component at the value of ZERO!. To get credit, you must process the images through the color components of each pixel (Red, Green, Blue) inside nested for loops, the way it is done in the sample code from Chapter 5.
You must include the function call at the bottom of your Python file, and test the final run.
zeroRedColor(Image.open("butterfly_on_flower.jpg"))
Original picture & modified copy of it below.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
