Skip to main content

Image to Ascii-Art

forthebadge made-with-python
Python 3.6

Usage

  • Make sure you have Python installed in your system.
  • Run Following command in the CMD.
 pip install PyAscii-Art

Example

  from PyAsciiArt import AsciiArt
  
  # Path to the image
  image_path = r"image.jpg"
  
  # Create new Ascii-Art
  ascii_art = AsciiArt(image_path)

  ascii_art.generatePixelArray()     # Generate the pixel-array of the image
  ascii_art.trimPixelColors()        # Set the pixel brightness value to match the char list
  ascii_art.generateAsciiImage()     # Generate the image
  ascii_art.writeToFile("image.txt") # Write the image to the image.txt file

Metadata

Release files for PyAscii-Art 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for PyAscii-Art 0.0.3
File Size Uploaded Provenance Actions
PyAscii_Art-0.0.3.tar.gz 3.6 kB Without provenance Details for PyAscii_Art-0.0.3.tar.gz

Release files / PyAscii_Art-0.0.3.tar.gz

Download URL PyAscii_Art-0.0.3.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
0ead57453a2e1455ca822b84156c556882b24708fb7d92fed7227a71ba4056e2
BLAKE2b-256 checksum
How to use checksums
664c1fea10f301e77caef77707126e540e600b87ea4cc112b25f71c337e0cf28
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

Security for PyAscii-Art 0.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.3 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page