Skip to main content

Create ASCII artwork from images.

Project description

Imgscii is a simple program that converts images into ASCII artwork. Follow the prompts and your ASCII art will be printed to your console. I plan on adding more features and improvements in the future.

Getting Started

You can get started by installing Imgscii using PIP:

pip install imgscii

Usage

As A Module

After you have installed the package from PIP you can import Imgscii into your project.

import imgscii

imgscii.printscii("images/my-photo.jpg")

Imgscii currently supports a small set of keyword arguments.

monochrome: ASCII art will be printed with default console style… no color!

imgscii.printscii("images/my-photo.jpg", monochrome=True)

columns: Define the width of your ASCII art in columns. Aspect ratio will be maintained.

imgscii.printscii("images/my-photo.jpg", columns=75)

char_set: Provide your own character set.

imgscii.printscii("images/my-photo.jpg", char_set=("#", "$", "Q", "v", "j", ";", "."))

From The Console

Imgscii can be executed from the console as well. Use cd to navigate to the directory containing imgscii.pyand run the program with the following command:

python imgscii.py

You can also use command line arguments.

-m, –monochrome: Print ASCII art without colors -c, –columns: Define the width of ASCII art in columns.

To-Dos

  • Add more options for printing

  • Create more ASCII artwork

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Imgscii-1.0.2.zip (9.2 kB view details)

Uploaded Source

Built Distribution

Imgscii-1.0.2-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file Imgscii-1.0.2.zip.

File metadata

  • Download URL: Imgscii-1.0.2.zip
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Imgscii-1.0.2.zip
Algorithm Hash digest
SHA256 5e87fe5f00c5ded0cb213180ccae0cffb7668989ba4cbb8820ed3be1be027f37
MD5 c37de79ef115204be57106f8fcd5700e
BLAKE2b-256 dfd9e70f8b4fc29e424245dd80dc73c4bbf0898f0b15c52a98952f503025e5f8

See more details on using hashes here.

File details

Details for the file Imgscii-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for Imgscii-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2d175a41076d44d6fa3dda54dfe0fa9698a473f03785f8f54e4532acd88d628c
MD5 064334f4aa2edf773dbe9d094deb550d
BLAKE2b-256 3672a1262818d2e0322d500bcf5379a170ede31198a910b2ec31b49df12673f2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page