|
|
@ -9,12 +9,13 @@ from asciiWriter.patterns import image |
|
|
|
from asciiWriter.utils import make_lines, visit, print_lines |
|
|
|
from asciiWriter.marks import sentence, space |
|
|
|
|
|
|
|
from os.path import join, dirname |
|
|
|
|
|
|
|
width = 75 |
|
|
|
height = 75 |
|
|
|
|
|
|
|
# Where to find the image |
|
|
|
image_path = 'images/blobs-small.png' |
|
|
|
image_path = 'images/shapes.png' |
|
|
|
image_path = join(dirname(__file__), 'data', 'shapes.png') |
|
|
|
# Construct the pattern |
|
|
|
image_pattern = image(image_path) |
|
|
|
# Set the marker, in this case a sentence |
|
|
|