A very persuasive package, for creating embroidery patterns
A very persuasive package, for creating embroidery patterns.
ih is a Python command-line tool for generating cross-stitch patterns from source images.
Would you prefer to use a website instead? Try
ih as a Service
How to cross-stitch
Check out this amazing Cross Stitch Carpentry lesson!
ih technical details
pip install ih
ih is now usable as a CLI.
Usage: ih [OPTIONS] IMAGE Options: -p, --palette TEXT Choices: lego, floss, perler, alpaca, wool. Default: wool -s, --scale INTEGER Rescale factor. Default: 1 -c, --colours INTEGER Limit palette to at most N colors. Default: 256 -r, --render Render a preview (using thread images) -g, --guidelines Render guidelines --help Show this message and exit.
ih -p alpaca -s 16 -r -c 4 demo_image.png
demo_image.html to see the result.
Install from source
git clone email@example.com:glasnt/ih cd ih virtualenv venv source venv/bin/activate pip install -r requirements.txt
ih as a module
See its use in
Package name origin
Disney's Lilo and Stitch:
Jumba: What?! After all you put me through you expect me to help you just like that?! Just like that?!
Pleakley: Fine? You're doing what he says?
Jumba: Uh, he's very persuasive.
LILO & STITCH is a trademark of Disney Enterprises, Inc.
LEGO® is a registered trademark of The Lego Group.
PERLER BEADS is a trademark of Stitch Acquisition Group.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size ih-0.0.0.dev26.tar.gz (68.8 kB)||File type Source||Python version None||Upload date||Hashes View|