Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a progran that asks the user for a name of an image png file and the narme of an output file. Your program should

image text in transcribedimage text in transcribedimage text in transcribed

Write a progran that asks the user for a name of an image png file and the narme 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 green channel) A sample run of your program should look likc: Enter name of the input file: csBridge.png Enter name of the output filei 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 graphies 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 plt. imshow commands will give an error. Instead, the files your program produces are compared pixel-by-pixel to the answer to check for CS unter College CS unter College 782998

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions