thumbnail/_dist
2018-06-04 17:56:56 +12:00
..
README.txt doc: update README 2018-06-04 17:56:56 +12:00

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=

2018-05-04 0.2.1
- Add `disableimagecrush` build tag option to exclude cgo library dependency

2017-11-18 0.2.0
- Initial standalone release
- Feature: Decode input with specified mime type
- Feature: Allow passing zero as thumbnail cache size

2017-01-03 0.1.0
- Version of `thumbnail` vendored with `webdir` 1.0 (previously tagged as `release-1.0`)