piv

command module
v0.0.0-...-2a4b834 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2021 License: Unlicense Imports: 10 Imported by: 0

README

Screenshot

piv

Fast ANSI terminal image viewer.

  • Supports PNG, GIF, and JPEG formats.
  • Only uses the 8 standard ANSI colors.
  • No 24-bit colors or Unicode tricks.

Installation

go get github.com/hoffa/piv

Usage

Usage of piv:
  -r float
    	character width-to-height ratio (default 0.5)
  -w int
    	output image width (native width if 0) (default 80)

Image data is read from standard input.

Example

curl https://placekitten.com/600/600 | piv

Setting -w to 0 will display the image in its native resolution:

curl https://placekitten.com/600/600 | piv -w 0 | less -RS

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL