posva / catimg

🦦 Insanely fast image printing in your terminal
http://posva.net/shell/retro/bash/2013/05/27/catimg
MIT License
1.38k stars 57 forks source link

Images do not properly scale vertically #67

Closed acxz closed 2 years ago

acxz commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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