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 do not properly scale vertically #67

Closed
acxz opened this issue Feb 27, 2022 · 2 comments · May be fixed by #68
Closed

Images do not properly scale vertically #67

acxz opened this issue Feb 27, 2022 · 2 comments · May be fixed by #68

Comments

@acxz
Copy link

acxz commented Feb 27, 2022

Whenever I specify the -H flag scale with the height of my image. The complete image does not get shown. Like so:
2022-02-27-161936_514x596_scrot

This is more apparent when displaying gifs. Even with the -H flag, when displaying gifs since the gif is not scaled correctly, a jarring artifact can be noticed.

Other information:
An alternative to catimg, chafa properly resolves this issue and scales according with user prompts. For a workaround and temporary solution, users can use chafa.

@acxz
Copy link
Author

acxz commented Feb 27, 2022

I realized the reason the scaling seems to be not working is because my prompt gets displayed immediately after, pushing the image/gif displayed up.

@posva
Copy link
Owner

posva commented Feb 28, 2022

This is indeed expected behavior. You can still specify a specific value for -H to match your custom height.

@posva posva closed this as completed Feb 28, 2022
Repository owner deleted a comment from acxz Apr 5, 2022
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 a pull request may close this issue.

2 participants