From 3378948eb27f7d09bbca4b76812994de966ddbc4 Mon Sep 17 00:00:00 2001 From: mappu Date: Sat, 18 Nov 2017 13:10:52 +1300 Subject: [PATCH] doc: README --- _dist/README.txt | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 _dist/README.txt diff --git a/_dist/README.txt b/_dist/README.txt new file mode 100644 index 0000000..6657e2a --- /dev/null +++ b/_dist/README.txt @@ -0,0 +1,23 @@ +A thumbnailing library for Go. + +Written in Go + +Earlier versions of this project were vendored into `webdir`. + +- Supports jpeg / png / gif files (internally) and video files (requires `ffmpeg` in `$PATH`) +- LRU cache of recent thumbnails for performance +- Scaling algorithms: Nearest-neighbour or bilinear +- Aspect ratio preserving (fit outside with image crop; fit inside with transparent background; fit inside with dimension reduction) +- Output formats: JPG (internal) or transparent PNG (via `go-imagequant`) + +A standalone binary `mkthumb` is provided as a sample utility. + +=CHANGELOG= + +20??-??-?? 0.2.0 +- Initial standalone release +- Feature: Decode input with specified mime type +- Feature: Allow passing zero as thumbnail cache size + +2017-01-03 webdir-1.0 +- Included with `webdir`