Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jeremyletang/preview
image preview in your terminal
https://github.com/jeremyletang/preview
Last synced: about 1 month ago
JSON representation
image preview in your terminal
- Host: GitHub
- URL: https://github.com/jeremyletang/preview
- Owner: jeremyletang
- License: mit
- Created: 2016-02-18T17:32:31.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-20T13:49:19.000Z (almost 9 years ago)
- Last Synced: 2024-10-22T07:08:59.673Z (3 months ago)
- Language: C++
- Homepage:
- Size: 646 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# preview
image preview in your terminal*preview* is a small tool to display images inside you terminal.
It is build using C++14 and use internally the awesome library [CImg](https://github.com/dtschump/CImg "CImg")
to read images, iterates overs pixels.## Screenshot
Look what a banana looks like with *preview*
![Screenshot](/img/screenshot.png "Banana")## Installation
*preview* is built using cmake which will download autonomously the required library locally, you just
need to type from the root repository:
```Shell
> mkidr build && cd build
> cmake ..
> make
```
Depending of the libraries installed on you computer, *preview* will be able to support different
file format## Examples
Some example images are available inside the repository, we can use them this way (assuming you're
inside the build folder):
```Shell
> ./preview ../img/banana.png
```
This should display a banana inside your browser## License
*preview* is licensed under the MIT license, you can find a copy of the license at the root of the repository.