Skip to content

Instantly share code, notes, and snippets.

View aramirezreyes's full-sized avatar

Argel Ramírez Reyes aramirezreyes

View GitHub Profile
@mispdev
mispdev / gist:525499b96351c73e7a501a21e54fbb27
Created February 12, 2025 02:17
Showing images in sixel-compatible terminals with Midnight Commander (mc)
Showing images in sixel-compatible terminals with Midnight Commander (mc)
=========================================================================
Task
- Using Midnight Commander (mc), I want to show the selected image file currently selected in `mc` on the terminal by just pressing the enter key.
Prerequisite
- Using a terminal that is able to show images in sixel format (e.g. [Windows Terminal](https://github.com/microsoft/terminal) in version v1.22 or newer).
- Having [ImageMagick](https://imagemagick.org/) installed for resizing and convertion to sixel format.