Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

USE PYTHON 3 ONLY!!! Create a program to turn a color picture into a grayscale picture. Name the file you create 305.py Create a function

USE PYTHON 3 ONLY!!! Create a program to turn a color picture into a grayscale picture. Name the file you create 305.py Create a function which accepts an Image and returns a grayscale version of the image. The original image should not be changed. Both images need to be the same size. However, you will be creating the second grayscale image so be sure to make it the same size as the original. Create a main function which asks the user which file they wish load. Then use the function you have written to create a grayscale version. Save the grayscale version to a file. Optional: The filename (used to save) should represent both the original filename as well as the word grayscale. An example is BSU.gif is saved as BSUgrayscale.gif Make sure to turn in your resulting file.

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