imvX11/Wayland 图像查看器

联合创作 · 2023-09-29 23:01

imv 是一个命令行图像查看器,旨在与平铺式窗口管理器一起使用。

特征

  • 原生 Wayland 和 X11 支持
  • 支持数十种图像格式,包括:
    • PNG
    • JPEG
    • GIF
    • SVG
    • TIFF
    • 各种 RAW 格式
    • Photoshop PSD 文件
  • 可配置的键绑定和行为
  • 高度脚本化

示例用法

以下示例快速说明了如何使用 imv

# Opening images
imv image1.png another_image.jpeg a_directory

# Opening a directory recursively
imv -r Photos

# Opening images via stdin
find . -type f -name "*.svg" | imv

# Open an image fullscreen
imv -f image.jpeg

# Viewing images in a random order
find . -type f -name "*.png" | shuf | imv

# Viewing images from stdin
curl http://somesi.te/img.png | imv -

# Viewing multiple images from the web
curl -Osw '%{filename_effective}\\\\n' 'http://www.example.com/[1-10].jpg' | imv

安装

依赖关系

pthreads   Required.
xkbcommon   Required.
pangocairo   Required.
icu   Required.
X11   Optional. Required for X11 support.
GLU   Optional. Required for X11 support.
xcb   Optional. Required for X11 support.
xkbcommon-x11   Optional. Required for X11 support.
wayland-client   Optional. Required for Wayland support.
wayland-egl   Optional. Required for Wayland support.
EGL   Optional. Required for Wayland support.
FreeImage   Optional. Provides PNG, JPEG, TIFF, GIF, etc.
libtiff   Optional. Provides TIFF support.
libpng   Optional. Provides PNG support.
libjpeg-turbo   Optional. Provides JPEG support.
librsvg >=v2.44 Optional. Provides SVG support.
libnsgif   Optional. Provides animated GIF support.
libheif   Optional. Provides HEIF support.
浏览 14
点赞
评论
收藏
分享

手机扫一扫分享

编辑
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑
举报