hiptext
hiptext copied to clipboard
Turn images into text better than caca/aalib
Hey! You should be able to leverage true color support present in some terminals. See: https://gist.github.com/XVilka/8346728
``` movie.cc:56:42: error: use of undeclared identifier 'PIX_FMT_RGB24'; did you mean 'AV_PIX_FMT_RGB24'? width_, height_, PIX_FMT_RGB24, SWS_FAST_BILINEAR, ^~~~~~~~~~~~~ AV_PIX_FMT_RGB24 movie.cc:64:18: error: use of undeclared identifier 'avcodec_alloc_frame' CHECK(frame_ = avcodec_alloc_frame()); ^ ```...
error occur in ffmpeg 4.0 ``` src/movie.cc:70:38: error: use of undeclared identifier 'PIX_FMT_RGB24'; did you mean 'AV_PIX_FMT_RGB24' src/movie.cc:94:5: warning: 'av_free_packet' is deprecated src/movie.cc:65:22: error: use of undeclared identifier 'avcodec_alloc_frame' ```...
https://github.com/google/googletest gtest breaks on FreeBSD, and it shouldn't be bundled anyway.
On FreeBSD I had to apply this patch: ``` --- hiptext.cc.orig 2016-06-17 23:50:21 UTC +++ hiptext.cc @@ -197,9 +197,9 @@ inline string GetExtension(const string& int main(int argc, char** argv) {...
Test fails on the system with pre-installed googletest-1.7.0: ``` In file included from gtest/src/gtest-all.cc:42: gtest/src/gtest.cc:991:13: error: use of undeclared identifier 'EditType' std::vector CalculateOptimalEdits(const std::vector& left, ^ gtest/src/gtest.cc:995:27: error: use of...
I don't know if you want this is hiptext? Obviously it's mostly useful for my texttop app. But it's kind of cool anyway I reckon. It uses X11's API `XGetSubImage`...
All the output alogorithms were adding a newline after _every_ line, including the last line. This meant that there would always be height+1 lines affected. If an image's height was...
I've been playing with using hipitext to output video streams. First I needed to change some symbols to compile against newer versions of ffmpeg, namely v3.0.1. Then I also needed...
I couldn't find what license hiptext was distributed under by looking at the README or the hiptext.cc file. there is no LICENSE file... what is the license?