Skip to content

Conversation

@ShaunLawrie
Copy link
Collaborator

I'm not sure how you feel about the scaling but for spectre console the cell width will need to be used to scale the image to make it fit within other rendered stuff on the screen. IMO using cell width / height to scale the image makes it more predictable and easier to intergrate sixel images into other terminal applications. Or it could accept a PixelWidth and CellWidth parameter 🤷

image

This only scales width based on the terminals reported cell size, the height isn't really exposed but it could be calculated.

@trackd trackd merged commit aa59ead into trackd:main Oct 10, 2024
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

Successfully merging this pull request may close these issues.

2 participants