uobikiemukot / sdump

sixel image dumper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sdump

sixel image dumper

this program is a variant of idump

install

you need to install following library before build

then just type "make"

install (static)

static link version (located in ./static) depends no extra (shared) library

just type "cd static; make"

  • libsixel (included in ./static/libsixel)
  • stb_image.h (for jpeg)
  • lodepng.h, lodepng.c (for png)

usage

$ sdump [-h] [-f] [-r angle] image

$ cat image | sdump

$ wget -q -O - url | sdump

options

  • -h: show help
  • -f: fit image to display size (reduce only)
  • -r: rotate image (90 or 180 or 270)

supported image format

  • jpeg by libjpeg
  • png by libpng
  • gif by libnsgif
  • bmp by libnsbmp
  • pnm by sdump

wrapper scripts

  • surl: equal "wget -q -O - url | sdump" (depends wget)
  • sviewer: take multiple files as arguments
  • spdf: pdf viewer (depends mupdf >= 1.5)

license

The MIT License (MIT)

Copyright (c) 2014 haru

About

sixel image dumper

License:MIT License


Languages

Language:C 88.4%Language:C++ 11.2%Language:Shell 0.3%Language:Makefile 0.2%