tUpdated example - cross-stitch - interactively turn images into patterns for c… | |
git clone git://src.adamsgaard.dk/cross-stitch | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit e9dd9328bf2d71741a60bf9b015f619bbf2eae38 | |
parent c46602b0d9581a1646bdc70caa4d84b701535c69 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Thu, 13 Feb 2014 22:29:18 +0100 | |
Updated example | |
Diffstat: | |
M Makefile | 2 +- | |
M cross-stitch.py | 2 +- | |
M fisker-pattern.png | 0 | |
3 files changed, 2 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/Makefile b/Makefile | |
t@@ -2,7 +2,7 @@ README.rst: generate-readme.sh cross-stitch.py fisker-pattern.… | |
@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 | |
t@@ -24,7 +24,7 @@ parser.add_argument('--width', '-w', type=int, nargs=1, defa… | |
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. |