Termslime displays images in your terminal with true colors.
Project description
Termslime
Termslime displays images in your terminal with true colors.
Contents
Requirements
- A terminal emulator with true color support.
- Python >= 3.7.
Installation
Install with pipx (recommended):
pipx install termslime
Or install with pip:
pip install termslime
Usage
usage: tslime [-h] [-hl HEIGHTLIMIT] [-wl WIDTHLIMIT] [-bp BEGINPADDING] [-ep ENDPADDING] [-lp LEFTPADDING] path
Termslime displays images in your terminal with true colors. Project home page: https://github.com/garyzbm/termslime
positional arguments:
path path to an image file or a directory containing image files
options:
-h, --help show this help message and exit
-hl HEIGHTLIMIT, --heightLimit HEIGHTLIMIT
maximum number of lines of blocks to display the image in the terminal
-wl WIDTHLIMIT, --widthLimit WIDTHLIMIT
maximum number of blocks per line to display the image in the terminal
-bp BEGINPADDING, --beginPadding BEGINPADDING
number of empty lines before the image
-ep ENDPADDING, --endPadding ENDPADDING
number of empty lines after the image
-lp LEFTPADDING, --leftPadding LEFTPADDING
number of empty spaces at the beginning of each line of the image
Credits
This project is greatly inspired by this post.
The following projects are crucial to the development of this project:
This project is published under MIT.
A Gary Zhang project.
- :tada: -
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
termslime-0.2.1.tar.gz
(4.3 kB
view hashes)
Built Distribution
Close
Hashes for termslime-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3416d873b5e51965ecc8b6694d953fc747c1fcefb860c49d31935b3d52f66f5a |
|
MD5 | 7da88bfa356163a73188abb59b6dd7d2 |
|
BLAKE2b-256 | da9464278c7c21f504f5cbe95bdc5753720191748c0f2fdf2ae9a7d343fbac0b |