Home
Individual Review - Tri 2
February 2024 (207 Words, 2 Minutes)
The Project:
After looking at college board requirements, our group decided to make a meme creator. Users can upload images with top and bottom text and the option to add the image to a public database. Users can also download other users memes from the database.
My Feature:
I created the meme editor python logic where the user can upload an image and add text to the top and bottom of the image and optionally add to the database. This is done by using the PIL library and functions to convert between base64 data and images.
CPT Review of Requirements
Instructions for input from one of the following: the user, a device, an online datas stream, a file:
- The project takes image and text input from the user to send to the backend.
Use of at least one list (or other collection type) to represent a collection of data that is stored and used to manage program complexity and help fulfill the users purpose:
- The meme images are stored in a Sqlite table that other users can access and download from using the JSON data stored in the table.
At least one procedure that contirubted to the program’s intened purpose where you have defined: the name, return type, one or more parameters:
- After creating the meme, the image is returned.
An algorithm that includes sequencing, selection, and iteration that is in the body of the selected procedure
- This is an if function to determine wether or not the image will be added to the database based on user input.
Calls to your student-developed prodcedure
Instructions for output (tactile, audible, visual, or ) based on input and program functionality
- This is the javascript that sends the image and top and bottom text and then returns the meme image.
Video
CB Requirements
Input
- Image, top text, bottom text, add to database
At least one aspect of the functionality of your program
- Meme creation with PIL
Output
- Completed meme being shown as result