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

Images stretched with sixel protocol #382

Open
xstasi opened this issue Oct 12, 2024 · 0 comments
Open

Images stretched with sixel protocol #382

xstasi opened this issue Oct 12, 2024 · 0 comments

Comments

@xstasi
Copy link

xstasi commented Oct 12, 2024

When reproducing presentations using sixel, images are rendered stretched / with broken aspect ratio.

Steps to reproduce:

  • Create a landscape picture
    • convert -size 1400x1080 xc:white white.png
  • Create a presentation that displays it
    • echo '![](white.png)' > x.md
  • Run the presentation using sixel
    • presenterm --image-protocol sixel x.md
    • The picture has a portrait ratio
  • Run the presentation again using ascii
    • presenterm --image-protocol ascii-blocks x.md
    • The picture has the correct ratio

Explicitly setting width doesn't help either.

Thanks!

EDIT: Apparently this only happens when running in foot for some reason, in konsole the pictures are displayed correctly. But konsole causes the ghosting problem of #379 🫠

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

1 participant