Skip to content
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

Support for Sixel #161

Open
matoken opened this issue Jan 28, 2024 · 2 comments
Open

Support for Sixel #161

matoken opened this issue Jan 28, 2024 · 2 comments

Comments

@matoken
Copy link

matoken commented Jan 28, 2024

Hello.
I have presented at mdp several times, but I am excited to have found this project that can handle images.
No plans for Sixel?

If it supports Sixel, the number of compatible devices will increase, and I think it will be possible to share presentations with images over the web using ttyd.

@jaspervdj
Copy link
Owner

I must admit I had not heard of Sixel before. I will take a look, it seems like a really good match for patat and I hope to include it soon.

@jaspervdj
Copy link
Owner

Was playing around with this yesterday night. Worth noting that you can already display images using sixel with eval settings.

For example:

---
patat:
  eval:
    sixel:
      command: sh
      replace: true
      fragment: false
      wrap: rawInline
...

# Sixel images

See, for example:

```sixel
convert -resize 480 "$HOME/Downloads/haskell-logo.png" sixel:-
```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants