Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a program that asks the user for a name of an image png file and the name of an output file. Your program should
Write a program that asks 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 red and blue channel of the original image (that is no grccn channl A sample run of your program should look like Enter name of the input filei csBridge.png Ithon nee Enter name of the output file: greenFreeH.png Sample input and resulting output files: Note: before submitting your program for grading, remove the commands that show the image (i.e. 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 Plt. show { ) and p t imshow ) commands wil give an emoInstead e L cs your program produce are companx Pixcl-b ple he answe to check or correctness
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started