Package: ih
A very persuasive package, for creating embroidery patterns.ihis a Python command-line tool for generating cross-stitch patterns from source images.Would you prefer to use a website instead? Tryihas a ServiceAs seen at PyCon US 2019How to cross-stitchCheck out this amazingCross Stitch Carpentrylesson!ihtechnical detailsInstallationRequiresPython 3.7+andpip:pip install ihihis now usable as a CLI.CLI UsageUsage: ih [OPTIONS] IMAGE

Options:
  -p, --palette [lego|floss|floss-dmc|newlego|perler|alpaca|floss-pdx|wool|🧵|🧶|🦙]
                                  Palette to use. See README.md for provenance
                                  [default: wool]

  -s, --scale INTEGER             Rescale factor  [default: 1]
  -c, --colors INTEGER            Limit palette to at most N colors.
                                  [default: 256]

  -r, --render                    Render preview of resulting artwork
                                  [default: False]

  -g, --guidelines, --print-ready
                                  Show guidelines, and print without colour
                                  [default: False]

  -o, --fileformat [html|term]    Output file format  [default: html]
  -f, --outputfolder TEXT         Output folder
  --version                       Show the version and exit.
  --help                          Show this message and exit.Example usage:ih -p alpaca -r -c 4 demo/demo_image.png -f demo/For thedemo image(source, freetoedit)
using the alpaca palette,
render the result in up to 4 colours,
to the output folderdemo/Opendemo/demo_image.htmlto see the result.PrintingUse--print-readyfor printing.ihwill:Use print-css functionality to ensure the print view is black+whiteUse js to dynamically split wide charts.RequiresjQuery via CDN.When printing, the page order will be legend, then a series of columns of chart.Install from sourceUsinggitandvirtualenv:git clone git@github.com:glasnt/ih
cd ih
virtualenv venv
source venv/bin/activate
pip install -r requirements.txtihas a moduleSee its use inih-aasPackage name originDisney'sLilo and Stitch:Jumba: What?! After all you put me through you expect me to help you just like that?! Just like that?!Stitch: Ih.Jumba: Fine.Pleakley: Fine? You're doing what he says?Jumba: Uh, he's very persuasive.Data provenanceflossSourced fromhttp://www.damaniel.info/dmc/dmctorgb.htmlandhttp://threadcolors.com/floss-dmcSourced from the medium colour on swatch previews from DMC.comOct 2020: This is the palette dervived during the PyCon 2019 talk, but was replaced with a better palette. It still remains available through floss-dmcfloss-pdxYet another floss-to-hex palette offered byhttp://pdxstitch.net/tools/tools.htmland converted to ih format. The original spreadsheet can be foundhere.Note that they also provide a couple of other handy tools including a floss use
calculator!woolSourced from the medium colour on swatch previews from DMC.comlegoSource from Kaggle dataset colors.csv (source)perlerBased on Perler Manufacturer information (source one,source two)alpacaSource from Jill Rowlinghttp://speleonics.com.au/jills/shared/alpaca.jsonAttributionsLILO & 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.Aurora test image (test/images/aurora.jpg) by Jonathan Bean from Unsplash:https://unsplash.com/photos/Ejpx_sdKEKo