HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

timg — A terminal image and video viewer. More information: <https://github.com/hzeller/timg#synopsis>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
terminalcommandtimgandcliimagevideoviewer

Problem

How to use the timg command: A terminal image and video viewer. More information: <https://github.com/hzeller/timg#synopsis>.

Solution

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

Code Snippets

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}}

Context

tldr-pages: common/timg

Revisions (0)

No revisions yet.