From 2a1106e9641805d05f719360462277dfdb6e2d8e Mon Sep 17 00:00:00 2001 From: Giorgi Beriashvili Date: Tue, 23 Nov 2021 05:34:06 +0400 Subject: [PATCH] viu: add page (#7295) --- pages/common/viu.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/common/viu.md diff --git a/pages/common/viu.md b/pages/common/viu.md new file mode 100644 index 000000000..5675a2047 --- /dev/null +++ b/pages/common/viu.md @@ -0,0 +1,24 @@ +# viu + +> A small command-line application to view images from the terminal. +> More information: . + +- Render an image or animated GIF: + +`viu {{path/to/file}}` + +- Render an image or GIF from the internet using `curl`: + +`curl -s {{https://example.com/image.png}} | viu -` + +- Render an image with a transparent background: + +`viu -t {{path/to/file}}` + +- Render an image with a specific width and height in pixels: + +`viu -w {{width}} -h {{height}} {{path/to/file}}` + +- Render an image or GIF and display its file name: + +`viu -n {{path/to/file}}`