Question: Exercise #2 Write a function copyAndPastelsteinage which takes as input a picture and the coordinates of a rectangular selection (upper left hand and lower right
Exercise #2 Write a function copyAndPastelsteinage which takes as input a picture and the coordinates of a rectangular selection (upper left hand and lower right hand corner). Use the function from Exercise #1 to adjust coordinates, if necessary. Then create a new picture of appropriate site and copy the selected rectang into the new picture. Your function copyandpastelewimage will return the newly created image
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
