Question: using python Write a program that the user for a name of an image png file and the name of an output file. Your program

using python using python Write a program that the user for a name of

Write a program that the user for a name of an image png file and the name of an output file. Your program should create a new image that has only the green channel of the original image (that is, no red and blue channels). To test your program you can download Bridges A sample run of your program should look like Enter of the input filet eseridge.png Enter name of the output file: green.png Sample input and resulting output files: Note: before submitting your program for grading, remove the commands that show the image (ie the ones that pop up the graphics window with the image. The program is graded on a server on the cloud and does not have a graphics window, so, the pit. show) and plt. Inshow commands will give an error. Instead, the files your program produces are compared pixel by-pixel to the answer to check for correctness Hint: See Lab

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!