Question: Create a Python program that allows the user to choose an image using the mouse, and also takes one command line argument which is where

Create a Python program that allows the user to choose an imageCreate a Python program that allows the user to choose an image using the mouse, and also takes one command line argument which is where the user wishes to write the file. It then manipulates and shows the final manipulated image to the user and when it is done with the manipulation it also writes it to disk as indicated by the user at runtime.

The program manipulates the image in the following way:

  1. The main function will take one argument which is a text string indicating where the user wishes to write the file.
  2. It has the user pickAFile() to edit
  3. It changes the light purple stars to a green color
  4. It changes the pinkish stars to a deep red color
  5. It changes the red circle to black
  6. It changes the orange ellipse to blue
  7. It changes the light blue rectangle to gray
  8. It changes the brown body and head of the ukulele to dark blue
  9. It changes blackish fretboard of the ukulele to red
  10. It lightens the top left quarter of the image.
  11. It then displays the image to the user
  12. It then writes the image to disk as the user indicated in the call to the main function

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!