Question: 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 red and blue channel of the original image.

A sample run of your program should look like:

Enter name of the input file:  csBridge.png Enter name of the output file:  csBridge_purple.png

Sample input and resulting output files:

 Input: https://huntercsci127.github.io/images/csBridge.png

 

Output: https://huntercsci127.github.io/images/csBridge_purple.png

Step by Step Solution

3.40 Rating (153 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

I can provide you with a Python script that accomplishes this task using the Pillow library which al... View full answer

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 Programming Questions!