Unformatted text preview: # picture transformation functions we've discussed. # # Note the differences between the following pieces of data. .. # inputFileName (the parameter) is a text string: the name of a picture file # outputFileName is also a text string: the name of a picture file # picture is the picture extracted from the file with the name inputFileName def loadAndSave(inputFileName): picture = makePicture(inputFileName) # You can transform the picture here if you like outputFileName = "backup.jpg" writePictureTo(picture, outputFileName)...
View Full Document
This document was uploaded on 10/27/2011 for the course CS 1315 at Georgia Tech.
- Fall '08