Homework 3
22C:80 Programming for Informatics
Due Friday, February 6, 2009
10 points
1. Finish/correct the scaling part of HW2 and add additional features including:
- rotatePictureClockwise(picture)
a function that returns a new picture object corresponding to the
original image rotated 90 degrees to the right
- add appropriate "if" and "print" statements to addPictureToCollage
to prevent python errors due to things such as x and/or y being
out of legal range for the collage, or the scaled image not fitting
on the collage.
- one additional image manipulation function that can be used to make your collages
more interesting (for this it would be okay to use something provided by
by the book, e.g., one of the functions in 3.4 of the book,
but it'd be nice if you provided something you designed yourself)
EXTRA SUBMISSION REQUIREMENT: Again, in addition to the usual program code and README,
you should also submit a jpg file of at least one collage created with your program.
Include a listing of the commands you used to create the collage