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
Package request: timg terminal image viewer #7301
Comments
With reduced dependencies, wouldn't be this functional analog of https://github.com/nabijaczleweli/termimage (this one has been already packaged)? |
They are really similar, but this package cannot play videos, and timg has this capability. Within 3 hours, I will describe the entire process of building the current version of the application. |
I don't know termimage, but it looks like it does half-block pixels but not the quarter block rendering that timg provides (thus higher horizontal spacial resolution in timg). In general it does not seem to have any of the useful features of timg as a daily driver, such as showing images in a grid or using custom background color patterns etc. (disclaimer: I am the author of timg so I know a lot more about the features of timg than termimage) |
As far I understand, with reduced dependencies Package has been added, |
yes, if ffmpeg video decoding is disabled at build time, it won't be able to play videos. |
Так. Как оказывается все нужные зависимости были, но я их не нашел под стандартными названиями. В итоге все нужные зависимости для программы есть, за исключением openslide. Я написал порядок установки, который можно поставить в скрипт установки. Все зависимости кроме openslide имеются в крупных пакетах таких как ffmpeg, поэтому его тоже надо ставить. git clone https://github.com/hzeller/timg.git cmake ../ -DWITH_VIDEO_DECODING=on - DWITH_OPENSLIDE_SUPPORT=off -DWITH_GRAPHICSMAGICK=on -DWITH_TURBOJPEG=on -DWITH_STB_IMAGE=off |
Requesting new package
Package description
timg is a terminal image and video viewer that uses Unicode block characters to display images (alternatively can show these in high resolution if kitty or iterm2 protocol is implemented).
Images are shown nicely in termux with it.
Link to home page and sources
Additional information
Personally I did not, but as the author of timg, I received an issue ( hzeller/timg#61 ) with the request to get it into termux; that user did compile timg successfully for termux, but would've liked smaller dependencies. I added a way to have a low-dependency (reduced feature) timg.
Adding @bropines to this thread who did successfully compile timg.
The text was updated successfully, but these errors were encountered: