Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
Noëlle Anthony f6b97973f8 Fixed error with non-square images il y a 5 ans
README.md Adjust height to allow for longer legend il y a 6 ans
babylon.png Fixed error with non-square images il y a 5 ans
babylon.png.kra Fixed error with non-square images il y a 5 ans
babylon.png~ Fixed error with non-square images il y a 5 ans
babylon_pattern.png Fixed error with non-square images il y a 5 ans
stitchify.py Fixed error with non-square images il y a 5 ans
test.png Changed test.png to multicolor image, changed code slightly il y a 6 ans

README.md

stitchify

Convert pixel art to cross-stitch patterns

Requires Python 3, PIL

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.