Skip to content
/ pixur Public

View images in the teminal

Notifications You must be signed in to change notification settings

kiedtl/pixur

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

Pixur

The right way to print pictures in the terminal with PowerShell

Usage

NOTE: Make sure you have ImageMagick installed.

Clone the repository into your project directory, then call the src/pixure.ps1 file:

$ "path/to/picture.png" | pixur

You can redirect output to a file:

$ "path/to/picture.png" | pixur > image.pxl

... and view the saved image with cat:

$ cat image.pxl

Terminal support

Because Pixur uses ANSI escape codes, not every terminal fully supports Pixur (yet). Indeed, as of September 2018, only the famous Windows Console, once notorious for poor color and Unicode character support fully supports Pixur.

Terminal Full Support?
Windows Console ✔ Yes!
Alacritty ❌ no
Cmder ❌ no
ConEmu ❌ no
Hyper ❌ no
Terminus ❌ no

Windows Console

As of 2018, the glorious Windows Console seems to support full RGB color:

Alacritty

Cmder

ConEmu

Hyper

Terminus