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