mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 20:11:19 +08:00
timg: add page (#19719)
Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
# timg
|
||||
|
||||
> A terminal image and video viewer.
|
||||
> More information: <https://github.com/hzeller/timg#synopsis>.
|
||||
|
||||
- Display a static image:
|
||||
|
||||
`timg {{image.jpg}}`
|
||||
|
||||
- Display all JPEG images in the current directory:
|
||||
|
||||
`timg *.jpg`
|
||||
|
||||
- Display all the bitmaps in icons file:
|
||||
|
||||
`timg {{example.ico}}`
|
||||
|
||||
- Play a video:
|
||||
|
||||
`timg {{video.mp4}}`
|
||||
|
||||
- Play contents of webcam:
|
||||
|
||||
`timg {{/dev/videoX}}`
|
||||
|
||||
- Play an animated GIF:
|
||||
|
||||
`timg {{gif.gif}}`
|
||||
|
||||
- Display version:
|
||||
|
||||
`timg --version`
|
||||
Reference in New Issue
Block a user