A very tiny bash script to display images #6574
grondilu
started this conversation in
Show and tell
Replies: 1 comment 1 reply
-
Why -w 64? The chunk size limitation is 4096. And
see here for a script that does not need either tr or sed
https://sw.kovidgoyal.net/kitty/graphics-protocol/#a-minimal-example
to transmit PNG files with BASH
Also note that -w is a GNU extension to base64 its not present on BSD
machines/macOS.
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This bash script only requires ImageMagick (for
convert
), and GNU Coreutils (forbase64
andtr
):Beta Was this translation helpful? Give feedback.
All reactions