Skip to main content

![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)

Metadata

Release files for ascii_image 1.2.1

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

Source distribution (sdist)

Source distribution for ascii_image 1.2.1
File Size Uploaded Provenance Actions
ascii_image-1.2.1.tar.gz 2.7 kB Without provenance Details for ascii_image-1.2.1.tar.gz

Release files / ascii_image-1.2.1.tar.gz

Download URL ascii_image-1.2.1.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
0577e2bb47e4373a31f9d2a7299674f0fe417a9d62ce208937528fd99534ffad
BLAKE2b-256 checksum
How to use checksums
1f96dbd8944c05d4462df0bc576488d4d21a5f4581c985907b2b42e81b546304
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.6

Security for ascii_image 1.2.1

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.

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