1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-21 22:22:07 +02:00
tldr/pages/common/viu.md
Lena 7ca1069d76
pages/*: reword descriptions without using "a CLI for" etc. (#10437)
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-07-16 19:23:40 +02:00

24 lines
534 B
Markdown

# viu
> View images on 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}}`