Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 2 KB

README.md

File metadata and controls

40 lines (26 loc) · 2 KB

Carve & Img

Two image viewing utilities for the terminal. Both of them can display images in only 16 colors.

  • carve - uses content-aware image resizing before displaying the image
  • img - uses regular image resizing before displaying the image

Screenshots

Original PNG image In a VT100 compatible terminal emulator, using seam carving for content-aware image resizing
Original PNG image In carve (wonky, but higher information density) In img (may look better, but retains less information

Installation

With Go 1.17 or later:

go install github.com/xyproto/carveimg/cmd/img@latest
go install github.com/xyproto/carveimg/cmd/carve@latest

The carve utility

The img utilitiy

General info