選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
Noëlle ac4aca9b3d Add transparency 3年前
README.md More more better 4年前
stitchify.py Add transparency 3年前
test.png Changed test.png to multicolor image, changed code slightly 5年前

README.md

stitchify

Convert pixel art to cross-stitch patterns

Requires Python 3.

Before running stitchify, do the following (on Linux):

> sudo apt-get install gtk+-3.0

> pip3 install argparse gooey pillow

This tool assumes that 1px = 1 stitch.

I’m deliberately not randomizing the symbols. Sending the same input image should result in the same output image every time.

TODO:

  • Accept image name on command line.
  • Change characters to symbols for ease of reading.
  • Expand number of symbols.
  • Create image from symbolized pixels instead of just printing to screen.
  • Add grid lines and edge labels to image.
  • Add legend to image, based on the symbols dictionary.
  • Correspond hex colors to floss colors, where possible.
  • (Maybe) add stitch count for each color.
  • (Maybe) add GUI.
  • Make sure legend width doesn’t exceed image width.