Write a function to accept a picture and a natural number k


Problem

1. Write a function to accept a picture and a natural number k, darken the 1/kth upper portion of the picture, and change the remaining portion to gray scale.

2. Write a function that treats horizontal thirds of the picture differently. Make the top third of an input picture brighter, then the middle third decrease blue and green by 30%, then the bottom third should be made negative.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Write a function to accept a picture and a natural number k
Reference No:- TGS02639378

Expected delivery within 24 Hours