Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bigsk1/sigscript
Add a signature to all images in a folder easily in Windows 10/11
https://github.com/bigsk1/sigscript
ai-images comfyui invokeai python-script python3 sdxl signatures stable-diffusion windows10 windows11
Last synced: 27 days ago
JSON representation
Add a signature to all images in a folder easily in Windows 10/11
- Host: GitHub
- URL: https://github.com/bigsk1/sigscript
- Owner: bigsk1
- Created: 2023-08-06T02:32:06.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-20T18:39:47.000Z (over 1 year ago)
- Last Synced: 2024-12-05T07:02:37.660Z (29 days ago)
- Topics: ai-images, comfyui, invokeai, python-script, python3, sdxl, signatures, stable-diffusion, windows10, windows11
- Language: Python
- Homepage:
- Size: 11.7 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# SigScript for Stable Diffusion Images
This script automatically adds a signature to all the Stable Diffusion images you generate. The idea is to make it easier to brand your images with your own name or alias.
## 🎥 Demo
[Watch the Tutorial Video on YouTube](https://youtu.be/_cfz92vdGt0?si=Jse4x_g41j5K3ACd)
## 📌 Prerequisites
- Python 3.x
- Windows 10/11## 🚀 Quick Start
### Step 1: Install Python Virtual Environment
Run `start.bat` to install a Python virtual environment (venv).
### Step 2: Edit the Script
Open the `scripts/signature.py` file in a text editor like Notepad.
#### Set Image Folder Path
Change the following line to point to your images folder.
```python
directory = r'C:\add-your-image-folder-path-here'
```For example:
```python
directory = r'C:\\Users\\somedude\\Downloads'
```### Add Your Signature
Add your name or alias to the following line:
```python
signature_text = 'ADD YOUR NAME HERE'
```For example:
```python
signature_text = '-bigsk1'
```### Step 3: Customize Appearance (Optional)
The default font color is white, but you can change it by modifying the RGB values in the script. You can also change the font, line width, and size.
### Step 4: Run the Script
Double-click `start.bat` to run the script.
## Output
The signed images will be saved in the `outputs` folder. Original images will not be modified.
### File Naming
If your original image name is `00925-3431573143.png`, the signed image will be saved as `00925-3431573143_signed.png`.
### Supported File Types
- `.png`
- `.jpg`
- `.jpeg`
- `.bmp`
- `.tiff`> Note: The script supports both upper and lowercase file extensions like \`.PNG\`.
![alt text](https://imagizer.imageshack.com/img923/5148/UklSgD.jpg
"Our logo")
SDXL