Imagine that you have a picture, and you are painting a copy of it. But you have

Question:

Imagine that you have a picture, and you are painting a copy of it. But you have only eight colors. Write a function that inputs a picture, and makes these changes to each pixel. For each of red, green, and blue, if the component is less than 100, make it zero. Otherwise, make it 255.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: