This project allows users to create customized Teams background images by overlaying text on a selected background image. Users can input their name and title, select a background from a dropdown list, toggle text colors, and save the result as a PNG file.
- Dynamic Text Input: Add a name and title to overlay on the background image.
- Background Selection: Choose from a list of predefined background images.
- Text Color Toggle: Switch text color between white and black using a toggle switch.
- Image Export: Save the customized image as a PNG file.
- HTML
- CSS
- JavaScript
- Open the project in a browser that supports HTML5.
- Use the text fields to input your name and title.
- Select a background image from the dropdown menu.
- Toggle the text color using the switch.
- Click
Update Text
to preview the changes on the canvas. - Save the customized image by clicking
Save Image
.
index.html
: Main file containing the HTML and JavaScript for rendering the UI and functionality.Backgrounds/
: Folder containing the predefined background images.README.md
: Instructions and documentation for the project.
Draws the selected background and overlays the input text with the chosen color.
Refreshes the canvas when text inputs or other settings are changed.
Loads the selected background image into the canvas.
Switches the text color between white and black based on the toggle switch state.
Generates a PNG file from the canvas and prompts the user to download it.
- Support for uploading custom background images.
- Additional text styling options (e.g., font size, alignment).
- Improved mobile responsiveness.
This project is open-source and available under the MIT License.