akukhta / cmdimg

CLI Utility to preview files directly from the command line

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

CLI Utility to preview files directly from the command line

License:GNU General Public License v3.0


Languages

Language:C++ 95.2%Language:C 4.7%Language:Objective-C 0.1%Language:CMake 0.0%Language:Batchfile 0.0%