cross-stitch

Interactively turn images into patterns for cross stitching
git clone git://src.adamsgaard.dk/cross-stitch
Log | Files | Refs

commit e9dd9328bf2d71741a60bf9b015f619bbf2eae38
parent c46602b0d9581a1646bdc70caa4d84b701535c69
Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date:   Thu, 13 Feb 2014 22:29:18 +0100

Updated example

Diffstat:
MMakefile | 2+-
Mcross-stitch.py | 2+-
Mfisker-pattern.png | 0
3 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -2,7 +2,7 @@ README.rst: generate-readme.sh cross-stitch.py fisker-pattern.png @bash $< $@ fisker-pattern.png: cross-stitch.py fiskeren.jpg - @python $< -i fiskeren.jpg -o $@ + @python $< -i fiskeren.jpg -o $@ -w 50 clean: $(RM) README.rst diff --git a/cross-stitch.py b/cross-stitch.py @@ -24,7 +24,7 @@ parser.add_argument('--width', '-w', type=int, nargs=1, default=20, args = parser.parse_args() infile = args.infile[0] outfile = args.outfile[0] -width = args.width +width = args.width[0] ## Read image ################################################################## try: diff --git a/fisker-pattern.png b/fisker-pattern.png Binary files differ.