Question: Must use Python and the Turtle module in Thonny. For image manipulation, must only use the cimage plug-in for Thonny. Overview: You are required to

Must use Python and the Turtle module in Thonny. For image manipulation, must only use the cimage plug-in for Thonny.

Overview:

You are required to place 4 images in specified positions on a canvas thus creating a collage. These images should be versions of the two supplied pictures, with each altered in some form. The placing of the images on the canvas must be done in a separate program using a turtle. Interactivity with the user is encouraged, such as the choice of picture, its transformation, and then its placement coordinates. You could also provide a function that scales a picture (changes its size.) The separate programs are required because there is an apparent incompatibility between the importing of image and turtle in the same program in Thonny.

Details: Part A (a separate program file, e.g. program_a.py)

These are the two pictures that must be used in this Project: birdCatchesBee and taalVolcanoLightning

birdCatchesBee: Must use Python and the Turtle module in Thonny. For image manipulation,

taalVolcanoLightning: must only use the cimage plug-in for Thonny. Overview: You are required

Define four or more functions that will change a given picture in different ways, such as scaling, sepia tone, gray, gray by red or green or blue channel, black and white, negative, posterized, remove red or green or blue, etc. These functions are then executed depending on user input. The changed pictures must be saved as type gif in the same folder as your programs, so that they can be requested and used by the second program. The names of the changed pictures should be written to a text file, which is then read by the next program, program_b.py.

Part B (a separate program file, e.g. program_b.py)

Read the file written by program_a to have the altered pictures' names available for placement of the associated pictures on the canvas.

Request from the user the coordinates on the Turtle canvas (of size 1000 by 800) where a changed picture should be placedthe bottom left corner of the picture (not the centre) must be placed at this position.

Repeat this for a total of at least 4 different positions and different (altered) pictures.

Marks are available if there are checks, such as a warning that a picture will be placed outside the canvas, or overlapping, etc. Also, additional detail such as writing a name under each placed picture is encouraged.

Transcribed image text

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!