Write a function named makeCollage to create a collage of the same image at least four times
Question:
Write a function named makeCollage to create a collage of the same image at least four times fit onto the 7in.x95in.jpg blank JPEG. (You are welcome to add additional images.) One of those four copies can be the original picture. The other three should be modified forms. You can scale, crop, or rotate the image, create a negative of the image, shift or alter colors on the image, and make it darker or lighter.
After composing your image, mirror it. You can do this vertically or horizontally (or otherwise), in any direction—just make sure that your four base images are still visible after mirroring.
Your single function should make all of this happen—all of the effects and compositing must occur from the single function makeCollage. Of course, it is perfectly okay to use other functions, but make it so that a tester of your program need only call setMediaPath(), put all your input pictures in a mediasources directory, and then execute makeCollage() in order to see a collage generated, shown, and returned.
Step by Step Answer:
Introduction To Computing And Programming In Python A Multimedia Approach
ISBN: 9780134025544
4th Edition
Authors: Mark J. Guzdial, Barbara Ericson