Question
Write a function that takes 4 arguments (integer, integer, picture, string). This function should be able to be used on any picture. This means you
Write a function that takes 4 arguments (integer, integer, picture, string). This function should be able to be used on any picture. This means you should not use specific numbers to determine how to manipulate the image. You should turn the left half of the picture to grey scale. Next you should change the green value of the top right half of the picture to the first integer argument. Finally, you should change the blue value of the bottom right half of the picture to the second integer argument. Now you should display your new picture and save it to the path that was passed as the string argument.
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