Skip to main content

Make any image file to ascii art format.

Project description

![image](https://img.shields.io/pypi/v/ascii_image.svg) ![image](https://img.shields.io/pypi/l/ascii_image.svg) ![image](https://img.shields.io/pypi/pyversions/ascii_image.svg)

將所有圖片轉換成 ASCII-art 形式的文字檔。 Turn the image into ASCII-art format text file.

## Installation To install , simply use pip of course): 安裝方法,只要使用 pip 安裝即可。 `{.sourceCode .bash} $ pip install ascii_image `

## Usage `python import ascii_image ascii_image.toASCII(imagePath, outFilePath, scale) `` + imagePath[str]: 欲轉換的圖片路徑 Image you want to change to ascii image + outFilePath[str]: 輸出檔案名稱 output file name + scale[tuple]: 輸入為兩個 int 正整數(Width, Height), 每個 ASCII 文字代表的像素(pixels)寬(Width)與高(Height)

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

ascii_image-1.2.1.tar.gz (2.7 kB view details)

Uploaded Source

File details

Details for the file ascii_image-1.2.1.tar.gz.

File metadata

  • Download URL: ascii_image-1.2.1.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.6

File hashes

Hashes for ascii_image-1.2.1.tar.gz
Algorithm Hash digest
SHA256 0577e2bb47e4373a31f9d2a7299674f0fe417a9d62ce208937528fd99534ffad
MD5 3a145f71a63547a6365ad40ca4583c80
BLAKE2b-256 1f96dbd8944c05d4462df0bc576488d4d21a5f4581c985907b2b42e81b546304

See more details on using hashes here.

Supported by

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