mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 15:33:50 +02:00
viu: add page (#7295)
This commit is contained in:
parent
e33298ff75
commit
2a1106e964
1 changed files with 24 additions and 0 deletions
24
pages/common/viu.md
Normal file
24
pages/common/viu.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# viu
|
||||
|
||||
> A small command-line application to view images from the terminal.
|
||||
> More information: <https://github.com/atanunq/viu>.
|
||||
|
||||
- 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}}`
|
Loading…
Add table
Reference in a new issue