view=====`view` is an image viewer for 9front.It is a (almost) complete replacement for page(1) with some extra features.`view` uses external libraries to load image formats:- STB: PNG, JPG, GIF, BMP, TGA, PPM and PGM- nanosvg: SVG`view` listens on the plumber(4) image port and handles both:- filename plumbing- image data plumbing when the plumb message action attribute is set to `showdata`Usage:------Install with `mk install`Run with `view <image>`Credits:--------STB library: https://github.com/nothings/stbnanosvg: https://github.com/memononen/nanosvgOpenBSD (math functions): http://openbsd.orgLicense:------------ view: MIT license- stb_image: Public Domain- nanosvg: zlib license- libposix: BSD licenseBugs:-----That wouldn't be my code otherwise!
view
=====
`view` is an image viewer for 9front.
It is a (almost) complete replacement for page(1) with some extra features.
`view` uses external libraries to load image formats:
- STB: PNG, JPG, GIF, BMP, TGA, PPM and PGM
- nanosvg: SVG
`view` listens on the plumber(4) image port and handles both:
- filename plumbing
- image data plumbing when the plumb message action attribute is set to `showdata`
Usage:
------
Install with `mk install`
Run with `view <image>`
Credits:
--------
STB library: https://github.com/nothings/stb
nanosvg: https://github.com/memononen/nanosvg
OpenBSD (math functions): http://openbsd.org
License:
-----------
- view: MIT license
- stb_image: Public Domain
- nanosvg: zlib license
- libposix: BSD license
Bugs:
-----
That wouldn't be my code otherwise!