stefanhaustein / TerminalImageViewer

Small C++ program to display images in a (modern) terminal using RGB ANSI codes and unicode block graphics characters

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature request: support upscaling

ToxicFrog opened this issue · comments

I'd like to use tiv to replace some uses that I already use timg for, since it generally produces better results; however, they require it to be able to emit images exactly scaled to fit the tty height. tiv's -w and -h settings only set upper bounds on the image size, though; it won't upscale.

you could write a wrapper script to use imagemagick to upscale image before running it through tiv.

Perhaps we could add uppercase -W / -H to force a specific width or height?