Question: Write a program that takes an image in any mode, and performs a 1 8 0 degree rotation of the image to produce an output
Write a program that takes an image in any mode, and performs a degree rotation of the image to produce an output image.
The program should ask the user to enter a filename, open this file, perform the transformation and then save the rotated version of the image to the file 'output.png
Here is an example of the effect your program should produce:
Astronaut
astronaut.png
Enter a filename: astronaut.png
Upsidedown astronaut
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
