A tool for retheming images and CSS using color palettes and gradients.
Project description
superwand
Leverage magic wand to breath life to images, especially posterized and vector art images.
Setup
pip install .
SuperWand Studio
The SuperWand Studio provides an interactive web interface for real-time image retheming, CSS retheming, and gradient application.
Running the Studio
Simply run the superwand command without applying a theme:
superwand
Access the UI
Once the server is running, open your browser and navigate to http://127.0.0.1:5001.
CLI Usage
Apply a Theme
superwand examples/images/zebra.png -theme Urban
Arguments
image_path: Path to the input image file (optional if starting studio).-theme: Theme to apply (Tropical, Urban, Winter, etc.).-k: Number of regions to identify (default 4).-tolerance: Color matching tolerance (default 50).-flood: Apply morphological flood filling.-gradient: Gradient style (none, auto, vertical, horizontal, radial).-intensity: Gradient intensity (0.0 to 1.0, default 0.2).--headless: Run in headless mode without opening the studio.
Enforce Gradients
gradient-enforce examples/images/charizard.png --style radial
Arguments
image_path: Path to the input image.--style: Direction of gradients (auto, vertical, horizontal).--completeness: Impacted regions (auto, aggressive, filter).--opacity: Opacity handling.--intensity: Gradient dramaticism (0.0 to 1.0, default 0.2).--output: Path to the output image.
Gradients
Included: bottom-up, top-down, left-right, right-left, radial
CSS Retheming
Identify color schemes in CSS and replace with a theme.
Color Themes
Themes included:
Example: Charizard
Gallery
Rio De Janeiro Skyline
Austin Ladybird Lake Plankton rendered in ZIT
Me in Rio de Janeiro
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file superwand-0.1.7.tar.gz.
File metadata
- Download URL: superwand-0.1.7.tar.gz
- Upload date:
- Size: 18.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ae1833e8be9cc0648fd60147fd74415e4f5ac348a86729b01856447cf014d11
|
|
| MD5 |
f92de1a842b498fe838497b89bda4372
|
|
| BLAKE2b-256 |
f6f0c05b81ea658d8e209256e910685687a822ddad1a1e97e2d5c190b5f58de6
|
Provenance
The following attestation bundles were made for superwand-0.1.7.tar.gz:
Publisher:
publish.yml on juleshenry/superwand
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
superwand-0.1.7.tar.gz -
Subject digest:
2ae1833e8be9cc0648fd60147fd74415e4f5ac348a86729b01856447cf014d11 - Sigstore transparency entry: 953203292
- Sigstore integration time:
-
Permalink:
juleshenry/superwand@41a748a82ee4944b8a923f1a2ccd26c8819c5941 -
Branch / Tag:
refs/tags/v0.1.7 - Owner: https://github.com/juleshenry
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@41a748a82ee4944b8a923f1a2ccd26c8819c5941 -
Trigger Event:
release
-
Statement type:
File details
Details for the file superwand-0.1.7-py3-none-any.whl.
File metadata
- Download URL: superwand-0.1.7-py3-none-any.whl
- Upload date:
- Size: 18.3 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d4f08d469404865244a3039cd417a3a08f72929a3725943193ef9db7f99669f
|
|
| MD5 |
f7da102c742b69f1cb1c52f2750cdc11
|
|
| BLAKE2b-256 |
6e5a4d6e18583074b59768dbdeefd146353812ec7116b23a5b315f3613982dc3
|
Provenance
The following attestation bundles were made for superwand-0.1.7-py3-none-any.whl:
Publisher:
publish.yml on juleshenry/superwand
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
superwand-0.1.7-py3-none-any.whl -
Subject digest:
6d4f08d469404865244a3039cd417a3a08f72929a3725943193ef9db7f99669f - Sigstore transparency entry: 953203293
- Sigstore integration time:
-
Permalink:
juleshenry/superwand@41a748a82ee4944b8a923f1a2ccd26c8819c5941 -
Branch / Tag:
refs/tags/v0.1.7 - Owner: https://github.com/juleshenry
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@41a748a82ee4944b8a923f1a2ccd26c8819c5941 -
Trigger Event:
release
-
Statement type: