Skip to content

Leverage magic wand bounding boxes to magically breath life to images

License

Notifications You must be signed in to change notification settings

juleshenry/superwand

Repository files navigation

superwand

Leverage magic wand to breath life to images, especially posterized and vector art images.

SETUP:

pip3 install colorgram.py webcolors scipy

Given a color, an image and a gradient-keyword, replace the region with a start color and end color

Example:

python3 gradient_injector.py

Gradients included: bottom-up, top-down, left-right, right-left, bottom-down, radial

Image 3 Image 3 Image 3 Image 3 Image 3
Image 3 Image 3

Given a CSS style sheet, dynamically identify color scheme and replace with a theme

Example:

python3 superwand.py examples/css/site.css 'Tropical'

Image 3 Image 3
Image 3 Image 3

Given an image and a color theme, apply it to main regions

Example:

python3 superwand.py examples/images/zebra.png 'Urban'

Color themes included:

Image 1 Image 2 Image 2 Image 2 tropical
Image 3 Image 4 Image 4 ADSF ADSF

Examples applied to Charizard:

Image 3 Image 3 Image 3 Image 3 Image 3
Image 3 Image 3 Image 3 Image 3 Image 3

Some other fun examples:

Image 3 Image 3
Image 3 Image 3

About

Leverage magic wand bounding boxes to magically breath life to images

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages