Write a function to create a lightened grayscale image, by use makeLighter. First, lighten the image by
Question:
Write a function to create a lightened grayscale image, by use makeLighter. First, lighten the image by using the makeLighter function on each color. Now, grayscale the new image. Compare the result to the picture created by the previous problem. How does makeLighter compare to adding 75 to each of the red, green, and blue components of every pixel?
Data from Previous Problem
Write a function to create a lightened grayscale image. First, lighten the image by adding 75 to the red, green, and blue components of every pixel. Since higher numbers are closer to white, this should make the pixel lighter. Now, grayscale the new image.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Introduction To Computing And Programming In Python A Multimedia Approach
ISBN: 9780134025544
4th Edition
Authors: Mark J. Guzdial, Barbara Ericson
Question Posted: