ref: d0c5e1bb15cdd6d57bef2c1086b87c48d9c0adcd
parent: bd780bfdb5905f3c5c5d8dba86156441387017a3
author: phil9 <[email protected]>
date: Tue Nov 30 14:35:37 EST 2021
update README
--- a/README
+++ b/README
@@ -1,11 +1,16 @@
view
=====
`view` is an image viewer for 9front.
-It uses the STB library to load PNG, JPG, GIF and BMP file formats.
+It is a (almost) complete replacement for page(1) with some extra features.
-`view` currently misses some features that are present in page(1) but
-those will be added in due time.
+`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`
@@ -14,6 +19,15 @@
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:
-----