# Install You can use pip to install ascimage.
pip install ascimage
# running
## on bash
imprint <filename> [-s size-of-asciiart] [-z zoom x y]
examples)
If you want to output the image to the terminal, put it as follows:
imprint hoge.jpg
If you want to shift the center position of the image by x = 80pixel, y = -20pixel and output up to W32xH28 characters at 4.6x magnification, enter as follows.
imprint hoge.jpg -s 32 28 -z 4.6 80 -20
If you want to enlarge the image to the same size, set zoom = 0.
## on python
import ascimage
ascimage.imprint(imgfile,[targetsizeWH],[zoomxy],[valrange])
targetsizeWH: - put size-of-asciiart as tuple.
zoomxy: - put zoom x y as tuple.
- -valrange:
(vmin,vmax): vmin to vmax are expressed on a color scale.
Metadata
Release files for ascimage 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| ascimage-0.0.1.tar.gz | 3.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ascimage-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.4 kB
Release files / ascimage-0.0.1.tar.gz
| Download URL | ascimage-0.0.1.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9d9c4b006eb37acb5a821201e070d1dd39b71f7ab1c5b7c1e8f87ea709be0eea
|
|
BLAKE2b-256 checksum How to use checksums |
a502db64aca302d0153d3911f030826fadb5f02fe8c8d84b28ee497e82cf3aa6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.5.0.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
|
Release files / ascimage-0.0.1-py3-none-any.whl
| Download URL | ascimage-0.0.1-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9c5c48f896c37030d940a3e0872cbcc96bd3282ba6bf6fdc809f3ad46906d16c
|
|
BLAKE2b-256 checksum How to use checksums |
db2c8f0601299fb9eedcf5bc4232658d56fe4a4c3c421c8385d8eed7abfbec52
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.5.0.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
|
Security for ascimage 0.0.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.