Commit Graph

22 Commits

Author SHA1 Message Date
2791bc2cd7 thumbnailer: allow passing 0 as cache size 2017-11-18 12:52:53 +13:00
f89726198b thumbnailer: rename (unused) ASPECT_ constants 2017-11-18 12:52:42 +13:00
5b7b22bd95 thumbnailer: imports for previous 2017-11-18 12:52:24 +13:00
3905686363 thumbnailer: option to set custom mime type for file decoding 2017-11-18 12:52:17 +13:00
060cefe642 thumbnail: move into subpackage 2017-01-03 17:31:27 +13:00
cc7cfb9367 video: limit ffmpeg execution time to 10s 2016-12-05 22:10:39 +13:00
97d1e2ed9d fix output_jpg for video files 2016-12-05 21:55:28 +13:00
67c50a0539 set custom output/aspect/scale formats, add package-level error vars 2016-12-05 21:48:48 +13:00
95da07dbb9 pass flv/rm/rmvb through to ffmpeg 2016-12-05 19:48:04 +13:00
a778c530c2 add FiletypeSupported() function 2016-12-05 19:47:24 +13:00
f7c82a7488 add .gif support (single frame) 2016-12-05 19:08:13 +13:00
b149b8e570 move blending functions to separate file, use package const instead of magic number 2016-12-05 19:05:59 +13:00
97f4702af1 fix issue in previous 2016-12-05 19:05:35 +13:00
b1c3e5c15f more correct extension handling 2016-12-05 19:03:05 +13:00
b5fe725836 video: add extra ffmpeg magic for aspect-scaling 2016-12-05 19:01:00 +13:00
08f0c94131 image: use png imagequant (cgo) 2016-12-05 19:00:42 +13:00
d5e9baf4e9 cmd/mkthumb: initial commit 2016-11-18 20:36:36 +13:00
0f4d2af8f0 use LRU cache package 2016-11-18 20:02:28 +13:00
5f096e52a4 rewrite extension handling, initial video support 2016-11-18 20:02:22 +13:00
676a71f527 track vendor/github.com/hashicorp/golang-lru (MPL) 2016-11-18 20:02:00 +13:00
686f5c834d refactor into separate files 2016-11-18 19:44:27 +13:00
081f542e08 initial commit 2016-10-13 22:25:11 +13:00