ascii_image-1.2.1
توضیحات
Make any image file to ascii art format.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | ascii_image-1.2.1 |
| نام | ascii_image |
| نسخه کتابخانه | 1.2.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Hao-Wei Li |
| ایمیل نویسنده | henryliking@gmail.com |
| آدرس صفحه اصلی | https://github.com/Henry0526/ascii_image |
| آدرس اینترنتی | https://pypi.org/project/ascii_image/ |
| مجوز | MIT |
ascii-art
==============================



將所有圖片轉換成 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)
نحوه نصب
نصب پکیج whl ascii_image-1.2.1:
pip install ascii_image-1.2.1.whl
نصب پکیج tar.gz ascii_image-1.2.1:
pip install ascii_image-1.2.1.tar.gz