pixterm
Render images in terminal using ANSI colors
TLDR
Display image in terminal
SYNOPSIS
pixterm [-s scale] [-tc cols] [-tr rows] [-d depth] [options] image
DESCRIPTION
pixterm renders images directly in the terminal using ANSI escape codes and Unicode half-block characters. Each text character cell represents two vertical pixels, achieving higher resolution than character-only renderers.
Color depth can be set to 24-bit true color for maximum quality or 8-bit (256 colors) for broader terminal compatibility. Dithering algorithms improve gradient and color transition rendering at the cost of processing time.
Output is standard ANSI text that can be redirected to a file for later display. The scale and cell size parameters control how the image maps to terminal dimensions.
PARAMETERS
-s SCALE
Scale factor.-tc N
Character columns per pixel.-tr N
Character rows per pixel.-d DEPTH
Color depth (8, 24bit).-m MODE
Dithering mode.-noresize
Don't resize image.-matte COLOR
Background color.
CAVEATS
Quality depends on terminal capabilities. Large images may be slow. Font affects appearance.
HISTORY
pixterm is a Go-based terminal image viewer. It provides high-quality image rendering using modern terminal capabilities.
