Assignment 26 — image manipulation

Due Friday, November 30


Task


Module dim.py

  • Returns the dimensions of an image that would be half that of image orig
  • Returns the dimensions of an image that would be twice that of image orig

Module locate.py

  • Returns a new correspondent location ( a, b ) for spot, where the dimensions in the correspondent image are twice that of w and h
  • Returns a new correspondent location ( a, b ) for spot, where the dimensions in the correspondent image are half that of w and h

Module effect.py

  • Returns a new image that is a 16 by 16 scaling of a 1/16 by 1/16 scaling of orig
  • You should find module manip.py functions zoom_in() and zoom_out() helpful.

mandrillmandrill
mandrillmandrill