viu icon indicating copy to clipboard operation
viu copied to clipboard

Multiple images in a single line

Open ouuan opened this issue 3 years ago • 3 comments

If I want to have a brief look at all the images in the current directory, I may want to list them in a small size with multiple images in a single line. So I think it's good to have an option for this.

ouuan avatar Mar 14 '21 02:03 ouuan

https://github.com/hackerb9/lsix

kidonng avatar Mar 15 '21 08:03 kidonng

hackerb9/lsix

lsix requires sixel.

ouuan avatar Mar 20 '21 11:03 ouuan

If your terminal doesn't support images nor sixel, then multiple images in a single line would look awful because of the pixelation needed.

P.S. While not widely supported, sixel is the de facto standard for displaying images in Terminal. I don't know if Kitty or iTerm is capable of displaying multiple images in one line, but sixel is. viuer, the library behind viu, has added support for sixel recently, so this feature should not be hard to implement. However, you may have to use a sixel-supported terminal in order to use it.

kidonng avatar Mar 20 '21 12:03 kidonng