Skip to content

Instantly share code, notes, and snippets.

@yukpiz
Created September 15, 2015 07:22
Show Gist options
  • Select an option

  • Save yukpiz/cbf22f72da9b79731ce1 to your computer and use it in GitHub Desktop.

Select an option

Save yukpiz/cbf22f72da9b79731ce1 to your computer and use it in GitHub Desktop.

libsixelを使う

ソースコードのクローン

$ sudo apt-get install libcurl4-gnutls-dev
$ git clone https://github.com/saitoha/libsixel.git
$ cd libsixel
$ ./configure --with-libcurl
$ sudo make; sudo make install

img2sixelコマンド

$ sudo ldconfig /usr/local/lib/libsixel.so.1
$ img2sixel sample.png
$ cat sample.png | img2sixel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment