You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Terminal Emulator: Windows Terminal (preview v1.22.3232.0)
Shell: ZSH
Custom desktop opener (if applicable):
Program options used: NNN_PREVIEWIMGPROG='img2sixel' NNN_PLUG='i:preview-tui' nnn -a -i -Pi
Configuration options set:
Plugins are installed: preview-tui
Issue exists on nnn master
Exact steps to reproduce the issue
1.install libsixel
sudo apt-get install libsixel-bin
2.test libsixel
img2sixel -g bird.jpg => ok
img2sixel -g voyage.jpeg => ok
3.compile tmux (v next-3.6) with sixel support and install
git clone https://github.com/tmux/tmux.git
cd tmux
sh autogen.sh
./configure --enable-sixel
make
sudo make install
3.run nnn, open preview-tui pane, navigate to the testing images (bird.jpg, voyage.jpeg, attached bellow)
bird.jpg is ok.
voyage.jpeg shows nothing!!!
Any ideas, please? Thanks a lot.
The text was updated successfully, but these errors were encountered:
Giessen
changed the title
preview-tui: img preview with libsixel not working for some images
preview-tui: image preview with libsixel not working for some images
Dec 7, 2024
By default tmux has a maximum image size of 1 MB (see tmux/tmux#3726), and voyage.jpeg is close to 4 MB once you convert it to sixel. The good news, though, is that tmux recently added an option for changing that limit if you want to make it higher. I don't think that option is included in the current release, but you could always build it yourself if you're desperate.
Environment details
nnn
masterExact steps to reproduce the issue
1.install libsixel
sudo apt-get install libsixel-bin
2.test libsixel
img2sixel -g bird.jpg => ok
img2sixel -g voyage.jpeg => ok
3.compile tmux (v next-3.6) with sixel support and install
git clone https://github.com/tmux/tmux.git
cd tmux
sh autogen.sh
./configure --enable-sixel
make
sudo make install
3.run nnn, open preview-tui pane, navigate to the testing images (bird.jpg, voyage.jpeg, attached bellow)
bird.jpg is ok.
voyage.jpeg shows nothing!!!
Any ideas, please? Thanks a lot.
The text was updated successfully, but these errors were encountered: