Austria

PTUI – terminal-based image viewer

PTUI (Picture TUI) is a terminal-based image viewer written in Rust that provides a file browser interface with real-time image preview capabilities.

The software needs:

  • chafa – For converting images to ANSI/terminal output
  • ImageMagick (identify command) – For image dimension detection

This is free and open source software.

Key Features

  • Support for common image formats.
  • Real-time image preview using ANSI terminal graphics.
  • Multiple picture-to-text converters: chafa and jp2a supported so far.
  • Slide show mode with arrow-key support and transitions (transitions only with jp2a).
  • Navigate with arrow keys or vim-style j/k.
  • Enter directories with Enter, go back with Backspace.
  • Multilingual support (English, German, Spanish, French, Japanese, Chinese).
  • Dynamic window resizing with [ and ] keys and when terminal changes.
  • Caching of rendered images for performance.
  • Scrollable file lists for directories with many files.
  • Support for both image and text file preview.
  • Open in file system browser (if available).
  • Delete file.
  • Save picture to ascii.
  • Sort by date asc/desc or name.
  • Dynamic reloading of configuration.

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 image files
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
ucollageExtensible command line image viewer
TermVisageFront-end to the term-image library
FotoSimple image viewer
rsimgUses crossterm and zune as dependencies
pxvInstant feature rich terminal image viewer
imgcatDisplays images and gifs in your terminal emulator.

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments