Signature App is a Python-based application that allows users to create digital signatures on a canvas and save them as images with or without backgrounds. The application uses tkinter
for the user interface and Pillow
for image manipulation.
- Responsive canvas for drawing signatures.
- Option to choose ink color.
- Save signatures with or without backgrounds.
- Save signatures to a user-selected directory.
- Clear the canvas option.
Make sure you have Python 3 installed on your system. You can download Python from python.org.
-
Clone the repository or download the zip and extract:
git clone https://github.com/username/signature-app.git cd signature-app
-
Create a virtual environment (optional but recommended):
python -m venv venv source venv/bin/activate # On Windows, use `venv\Scripts\activate`
-
Install dependencies:
pip install -r requirements.txt
-
Run the application:
python main.py
-
Interact with the application:
- Draw signatures by clicking and dragging the mouse on the canvas.
- Click "Save with Background" to save the signature with a background.
- Click "Save without Background" to save the signature without a background (transparent).
- Click "Clear" to clear the canvas.
- Click "Choose Ink Color" to select the ink color.
-
Select Save Directory:
- When the application opens, you will be prompted to select a directory to save the images.
signature-app/ │ ├── main.py ├── README.md └── requirements.txt
- Fork the repository.
- Create a new branch:
git checkout -b new-feature
. - Make changes and commit:
git commit -am 'Add new feature'
. - Push to the branch:
git push origin new-feature
. - Submit a pull request.