-
Notifications
You must be signed in to change notification settings - Fork 83
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
Display image values using Sixel terminal protocol #267
Comments
If you decide to add support you can always reply to https://x.com/GWierzowiecki/status/1898510522221461577 :) |
Btw. I gave a try in
with this test payload json with base64 png image as one of values:
Currently it "almost works" , in my terminal it just jumps to 0x0 cortner then displaying image, instead of behaving like viu ( https://github.com/atanunq/viu - that uses viuer btw.) or |
Hi @gwpl, thanks a lot for the idea and your work on the sixel branch! Funnily, just today, before seeing your post, I thought about precisely the same functionality (showing image data directly from jaq), so I'm definitely interested. I think that to be flexible, I would not add a command-line flag, but a filter that interprets an image as image, e.g. |
Lovely! |
@gwpl, do not worry and take your time, if you want to continue your effort on this feature. I'm not in a hurry. :) |
I've found fix! Works! Pull Reuqest: #269 |
Wow, thanks for your work, this looks already quite good! I have left a few comments in your PR to help you improve your code. |
More updates on #269 !
(updating gist with used jsons with images: https://gist.github.com/gwpl/f770639a0a21025ec5c1c775a200ddc8 ) |
Hello, can I help with review? |
Requesting here as jqlang/jq#3291 maybe also great addition to this project:
Sixel allows to display images in terminals ( e.g. https://github.com/saitoha/libsixel ; https://en.wikipedia.org/wiki/Sixel ; https://github.com/atanunq/viu (Rust) ),
let's make --sixel flag that will :
Rationale:
The text was updated successfully, but these errors were encountered: