diff --git a/main.py b/main.py index 89ad46f..a317292 100644 --- a/main.py +++ b/main.py @@ -50,7 +50,6 @@ def asciiTextToImage(asciiText, fontPath, cellSize, fontSize, clarityFactor): return image -# Example usage # Get the current directory currentDir = os.path.dirname(os.path.abspath(__file__)) @@ -62,8 +61,7 @@ os.makedirs(exportDir, exist_ok=True) cellSize = (8, 8) fontPath = 'fonts/courbd.ttf' # Specify the path to your font file fontSize = 10 # font size in points -clarityFactor = 8 - +clarityFactor = 8 # Increase this value to improve the clarity of the ASCII art # Process all images in the current directory for filename in os.listdir(currentDir): diff --git a/output/cuantas-calorias-tiene-un-tomate_asciiart.jpg b/output/cuantas-calorias-tiene-un-tomate_asciiart.jpg index 1628b08..30dca2f 100644 Binary files a/output/cuantas-calorias-tiene-un-tomate_asciiart.jpg and b/output/cuantas-calorias-tiene-un-tomate_asciiart.jpg differ