https://github.com/prikhi/cli-image
Render an Image in the Terminal with w3mimgdisplay
https://github.com/prikhi/cli-image
Last synced: 3 months ago
JSON representation
Render an Image in the Terminal with w3mimgdisplay
- Host: GitHub
- URL: https://github.com/prikhi/cli-image
- Owner: prikhi
- License: bsd-3-clause
- Created: 2021-05-25T03:27:08.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-05-25T03:27:27.000Z (about 4 years ago)
- Last Synced: 2025-01-17T01:36:29.654Z (5 months ago)
- Language: Haskell
- Size: 6.84 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# cli-image
[](https://travis-ci.org/prikhi/cli-image)
Show high-res images in the terminal. Requires `w3mimgdisplay`.
Pass optional arguments for scaling & positioning.
```sh
stack install
export PATH="~/.local/bin/:${PATH}"
cli-image [WIDTH [HEIGHT [X [Y]]
```Press `Enter` to exit.
## Build
You can build the project with stack:
```sh
stack build
```For development, you can enable fast builds with file-watching,
documentation-building, & test-running:```sh
stack test --haddock --fast --file-watch --pedantic
```To build & open the documentation, run
```sh
stack haddock --open cli-image
```## LICENSE
BSD-3