CLI Utility to preview media files directly from the command line
- OpenCV
- OpenCV is being used to actually read and decompress an image. Could be used more lightweight library/own implementation
- FTXUI
- A great library to create fancy GUI for a command line application. The library repository
git clone https://github.com/akukhta/cmdimg
cd cmdimg
bootstrap_x86_debug.bat
cmdimg scream.jpg
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