LinuxCommandLibrary

viu

A small command-line application to view images from the terminal.

TLDR

Render an image or animated GIF

$ viu [path/to/file]
copy


Render an image or GIF from the internet using curl
$ curl -s [https://example.com/image.png] | viu -
copy


Render an image with a transparent background
$ viu -t [path/to/file]
copy


Render an image with a specific width and height in pixels
$ viu -w [width] -h [height] [path/to/file]
copy


Render an image or GIF and display its file name
$ viu -n [path/to/file]
copy

Help

viu 1.4.0 
Atanas Yankov  
View images right from the terminal. 

USAGE:
    viu [FLAGS] [OPTIONS] [FILE]... 
    When FILE is -, read standard input. 

FLAGS:
    -b, --blocks         Force block output 
        --help           Prints help information 
    -m, --mirror         Display a mirror of the original image 
    -n, --name           Output the name of the file before displaying 
    -1, --once           Only loop once through the animation 
    -r, --recursive      Recurse down directories if passed one 
    -s, --static         Show only first frame of gif 
    -t, --transparent    Display transparent image with transparent background 
    -V, --version        Prints version information 

OPTIONS:
    -f, --frame-rate     Play gif at the given frame rate 
    -h, --height                    Resize the image to a provided height 
    -w, --width                      Resize the image to a provided width 

ARGS:
    ...    The image to be displayed 

Copied to clipboard