-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add display for multiple images horizontally #102
Comments
Absolutely. It's not even that hard to add, so I could see it making the 1.14 release. For reference, I imagine you're using something like this... montage -tile 6x -background none -geometry 64x64+1+1 *.png - | chafa -s 80 ...which is indeed very slow, and also consumes lots of memory if it's a big collection. With proper support in |
This reminds me I also want something like a |
For images I am using However, for gifs I have to do something a bit more creative: For gifs it is a bit more involved as I down/upsample the frames in multiple gifs to have the same number of frames in all the gifs. I essentially create a new gif stitched images that are sampled from the individual gifs. The more this functionality can be incorporated into chafa the faster I believe my script will be. |
to fit width i just alias or script -s $(tput cols) |
Any feedback on how I could do this? |
Hi - I didn't have time to add this in 1.14, but I'll see if we can't get something going for 1.16. |
Having the ability to display multiple images in a horizontal fashion.
Right now calling multiple images with chafa defaults to a vertical layout, but it would be nice to also have a horizontal layout.
For reference, timg achieves this with the
--grid
flag. https://github.com/hzeller/timg/blob/cfd5f7a99401074ccfad31fa6234e94e5175074f/README.md?plain=1#L82P.S. as a workaround currently I am using imagemagick to manually stitch the images together and then using chafa. I imagine if this step is done inside of chafa, the overall pipeline will be faster.
The text was updated successfully, but these errors were encountered: