Assignment 32 — image manipulation
Due Saturday, November 21
Module cw.py
- Implement functions
size()
andwhere()
to support producing a clockwise rotation of an image.
- Function
size( original )
- Returns the dimensions of an image that would be a clockwise rotation of
original
.
- Function
where( nspot, original )
- Return the correspondent of spot
nspot
in theoriginal
image when doing a clockwise transformation
- The module has built-in testing using a mandrill image.
| |
© 2020 Jim Cohoon | Resources from previous semesters are available. |