Jay Taylor's notes
back to listing indexichinaski/pxl
[web search]
Original source (github.com)
Clipped on: 2016-06-11
Skip to content
Display images in the terminal
Go
img | Use ▄ instead of ▀ | 14 days ago | |
.gitignore | initial commit | 15 days ago | |
LICENSE | Add license | 14 days ago | |
README.md | Remove flag references and documentation | 11 days ago | |
color.go | Use integer math, avoid float64 castings in loop | 14 days ago | |
color_test.go | Use uint16 for colors | 14 days ago | |
image.go | Automatically fetch cursor width/height ratio | 11 days ago | |
image_test.go | initial commit | 15 days ago | |
main.go | Argument validation | 10 days ago |
README.md
pxl
pxl is a little hack to display images in the terminal.
Installation
You will need to have Go installed and configured in your path. Your terminal must have xterm-256color mode enabled.
go get github.com/ichinaski/pxl
Usage
pxl filename
Close the image with <ESC>
.
Disclaimer
You may want to squint your eyes or take a few steps backwards when looking at the output.
Examples
image | pxl |
---|---|
License
This software is distributed under the BSD-style license found in the LICENSE file.