commands.sh

viu

all

View images on the terminal.

More info →

Options (5)

-s, --silentboolean

Render an image or GIF from the internet using `curl`

Example: curl {{[-s|--silent]}} {{https://example.com/image.png}} | viu -
-t, --transparentboolean

Render an image with a transparent background

Example: viu {{[-t|--transparent]}} {{path/to/file}}
-w, --widthboolean

Render an image with a specific width and height in pixels

Example: viu {{[-w|--width]}} {{width}} {{[-h|--height]}} {{height}} {{path/to/file}}
-h, --heightboolean

Render an image with a specific width and height in pixels

Example: viu {{[-w|--width]}} {{width}} {{[-h|--height]}} {{height}} {{path/to/file}}
-n, --nameboolean

Render an image or GIF and display its file name

Example: viu {{[-n|--name]}} {{path/to/file}}

Examples (5)

Render an image or animated GIF

viu path/to/file

Render an image or GIF from the internet using `curl`

curl [-s|--silent] https://example.com/image.png | viu -

Render an image with a transparent background

viu [-t|--transparent] path/to/file

Render an image with a specific width and height in pixels

viu [-w|--width] width [-h|--height] height path/to/file

Render an image or GIF and display its file name

viu [-n|--name] path/to/file
made by @shridhargupta | data from tldr-pages