mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-19 01:01:21 +00:00
Update cheatsheets
This commit is contained in:
29
viu
Normal file
29
viu
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}}`
|
||||
Reference in New Issue
Block a user