/cmdimg

CLI Utility to preview files directly from the command line

Primary LanguageC++GNU General Public License v3.0GPL-3.0

cmdimg

CLI Utility to preview media files directly from the command line

Dependencies

  • OpenCV
    • OpenCV is being used to actually read and decompress an image. Could be used more lightweight library/own implementation
  • FTXUI

Building

git clone https://github.com/akukhta/cmdimg
cd cmdimg
bootstrap_x86_debug.bat

Usage

cmdimg scream.jpg

Screenshot 2023-09-30 230505

demo

Warning

To actually preview the image, the terminal should support true color!

Note

Currently the tool supports only following formats: BMP, JPG, JP2, PNG, WEBP, AVIF, PBM, PFM, SR, TIFF, EXR, HDR, PIC, AVI