Austria

PTUI – terminal-based image viewer

PTUI, or Picture TUI, is a terminal image viewer with an integrated file browser and real-time previews.

It can render images through Chafa or jp2a and also provides a graphical rendering mode. Users can switch renderers while working and resize the preview pane without leaving the interface.

PTUI has expanded into a more capable image-management tool, adding file operations, sorting and star ratings stored in interoperable XMP sidecars.

This is free and open source software.

Key Features

  • Supports common image formats.
  • Provides real-time image previews.
  • Uses Chafa for ANSI and terminal rendering.
  • Can use jp2a as an alternative converter.
  • Provides a graphical rendering mode.
  • Allows the active converter to be switched from the keyboard.
  • Provides slideshow mode.
  • Supports arrow-key control during slideshows.
  • Supports slideshow transitions with jp2a.
  • Supports arrow-key navigation.
  • Supports Vim-style j and k navigation.
  • Allows directories to be entered from the interface.
  • Allows navigation back to the parent directory.
  • Offers multilingual support.
  • Dynamically responds to terminal resizing.
  • Allows the preview pane to be resized manually.
  • Caches rendered images for improved performance.
  • Provides scrollable directory listings.
  • Previews image files.
  • Previews text files.
  • Can open a file in the system file browser.
  • Can delete files.
  • Can copy files.
  • Can move files.
  • Can save rendered images as ASCII output.
  • Can sort files by date.
  • Can sort files by name.
  • Can sort files by star rating.
  • Supports star ratings from zero to five.
  • Can store ratings in XMP sidecar files.
  • Uses the standard xmp:Rating property.
  • XMP ratings can be read by software such as darktable and digiKam.
  • Can preserve unrelated metadata already present in XMP sidecars.
  • Can keep ratings in PTUI’s own state file instead of creating sidecars.
  • Dynamically reloads configuration changes.
  • Provides an integrated help screen.
  • Support Kitty and iTerm2 graphics rendering in compatible terminals.
  • Cross-platform support – runs on Linux and macOS.

Website: github.com/narbs/ptui
Support:
Developer: Christian Clare
License: MIT License

PTUI in action

PTUI is written in Rust. Learn Rust with our recommended free books and free tutorials.

Related Software

Terminal-Based Image Viewers
timgImage and video viewer with good range of features. Written in C++
ChafaCharacter Art Facsimile
viuRust-based image viewer
vvImage viewer for sixel terminals
TIVTiny C++ program that displays images in a terminal
RangerTerminal-based file manager supporting high quality previews of images
mcatExtended cat command
icatCat like utility can specify multiple image files and/or directories
PixelTerm-CHigh-performance terminal image browser written in C
phoLightweight image viewer
catimgRenders images in the terminal
PTUIReal-time image preview capabilities
imvX11/Wayland image viewer
ivImage viewer using terminal graphics
TermVisageFront-end to the term-image library
FotoSimple image viewer
vatRenders SVG and other vector graphics in multiple formats
image_to_consoleFast image viewer supporting animations and graphics protocols
rsimgUses crossterm and zune as dependencies
imgcatDisplays images and gifs in your terminal emulator.

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our carefully curated directory of recommended free and open source software, covering every major software category.

The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more.

Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted