Skip to content

Commit

Permalink
Re-license to MIT
Browse files Browse the repository at this point in the history
Signed-off-by: kfei <[email protected]>
  • Loading branch information
kfei committed Sep 4, 2015
1 parent b49ce1b commit 942a579
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 17 deletions.
29 changes: 17 additions & 12 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@
THE STRONGEST PUBLIC LICENSE
Draft 1, November 2010
The MIT License

Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
Copyright (c) 2015 Lin, Ke-fei (kfei). http://kfei.net

THE STRONGEST PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

⑨. This license document permits you to DO WHAT THE FUCK YOU WANT TO
as long as you APPRECIATE CIRNO AS THE STRONGEST IN GENSOKYO.
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

This program is distributed in the hope that it will be THE STRONGEST,
but WITHOUT ANY WARRANTY; without even the implied warranty of
USEFULNESS or FITNESS FOR A PARTICULAR PURPOSE.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
22 changes: 17 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
# img2xterm

[Demo](#demo)

This project was originally a fork from [rossy/img2xterm][1] with:

- Image auto fit to terminal
- Display in B/W mode
- Support for displaying in B/W mode
- Cowfile-related code deleted

[1]: https://github.com/rossy/img2xterm
You may also be interested in the [Golang version][5].

## Dependencies

Before compilation, make sure you have the development packages of
[ImageMagick][2] and [Ncurses][3] (for *terminfo* support).

[2]: http://www.imagemagick.org
[3]: http://www.gnu.org/software/ncurses/ncurses.html

- *Arch Linux*: `pacman -S imagemagick-doc ncurses`
- *Debian*/*Ubuntu*: `apt-get install libmagickwand4 libncurses5-dev`

Expand All @@ -28,6 +27,7 @@ run:
make
make install
```

## Usage

To display an image on a 256-color compatible terminal:
Expand Down Expand Up @@ -55,4 +55,16 @@ More usage:
img2xterm -h
```

## License

The MIT License (MIT)

## Demo

![IMAGE](http://i.imgur.com/YfakxHd.png)

[1]: https://github.com/rossy/img2xterm
[2]: http://www.imagemagick.org
[3]: http://www.gnu.org/software/ncurses/ncurses.html
[4]: http://en.wikipedia.org/wiki/Color_difference#CIE94
[5]: https://github.com/kfei/sshcam/tree/master/img2xterm

0 comments on commit 942a579

Please sign in to comment.