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
Use tmux+img2sixel for preview-tui plugin
my terminal is foot
I recently discovered that some jpegs are not displayed in the preview panel. The problem is precisely with the resolution of the files and specifically with jpeg.
pngs are scaled and displayed normally
i think this not bug, just some of my images too wide or too height and tmux just can't preivew this
i tested some images without tmux and img2sixel displayed them well
within tmux for example:
i have jpeg 1215x2160px and no preview
then i scaled this jpeg to 827x1471px and preview back
i just trying to find a way to scale this jpeg only for previvew-tui and then previvew them inside tmux pane
i think i need to add some code to preview-tui to do scaling, but a tootaly suck at bash scripting, so any help will be appreciate...
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Use tmux+img2sixel for preview-tui plugin
my terminal is foot
I recently discovered that some jpegs are not displayed in the preview panel. The problem is precisely with the resolution of the files and specifically with jpeg.
pngs are scaled and displayed normally
i think this not bug, just some of my images too wide or too height and tmux just can't preivew this
i tested some images without tmux and img2sixel displayed them well
within tmux for example:
i have jpeg 1215x2160px and no preview
then i scaled this jpeg to 827x1471px and preview back
i just trying to find a way to scale this jpeg only for previvew-tui and then previvew them inside tmux pane
i think i need to add some code to preview-tui to do scaling, but a tootaly suck at bash scripting, so any help will be appreciate...
Beta Was this translation helpful? Give feedback.
All reactions