Skip to main content

Render image files in the terminal

Project description

Render images in the terminal. Pronounced ‘Lo-Res’.

install

pip install lores. Done.

lores depends on [pillow][], [requests][], and [vari][]; the above command installs dependencies as needed.

[pillow]: https://github.com/python-imaging/Pillow [requests]: https://github.com/kennethreitz/requests [vari]: https://github.com/philadams/vari

use

Render a local or remote image in your terminal:

lores fixtures/parrot.png lores –columns=40 http://octodex.github.com/images/original.jpg

![example/example.png](./example/example.png)

help

As expected, via -h or –help:

usage: lores [-h] [-c COLUMNS] imfile

Render images on the terminal. http://github.com/philadams/lores

positional arguments:

imfile image file to render

optional arguments:
-h, --help

show this help message and exit

-c COLUMNS, --columns COLUMNS

width of img in terminal columns

future

  • better error reporting (don’t just defer to e.g. requests or PIL libs)

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

lores-0.0.5.tar.gz (2.1 kB view details)

Uploaded Source

File details

Details for the file lores-0.0.5.tar.gz.

File metadata

  • Download URL: lores-0.0.5.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for lores-0.0.5.tar.gz
Algorithm Hash digest
SHA256 74d1abdf215038f549cc3f11c945d9feccff1fb01c24646e6e94c858c134fbfc
MD5 25e22944fd942e3880e10d7a548fcfe1
BLAKE2b-256 bdc8804aac6b8249f9222fea1872e93e0fc307bedaeea1efc28d6bcd7906315c

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