23 Commits

Author SHA1 Message Date
58064a6309 Use cacher for downloading fullsize images. 2020-06-20 22:25:29 -07:00
80ef93f20f Start of rewrite from warp->rocket. 2020-06-20 12:50:22 -07:00
a19874fe47 Attempt to create a cacher but I can't make it work with warp. 2020-06-19 20:37:51 -07:00
7e2cf1b956 Move image helpers to xinu.tv/imageutils 2020-04-01 18:21:22 -07:00
01c7582ae3 Implement timeout to automatically advance slide. 2020-02-23 09:00:22 -08:00
7ec3a11037 Use non-filling resize on server side. Client does filling. 2020-02-23 08:46:20 -08:00
1b292b30c9 Don't log on cache hit. 2020-02-22 21:32:17 -08:00
233d0c4883 Use Lanczos3 when generating thumbnails. 2020-02-22 17:49:35 -08:00
1c82313c98 Benchmark more jpeg decoders. Do downsizing decode with jpeg_decoder. 2020-02-22 17:19:57 -08:00
7f64a4d2f6 Implement less abstracted nearest filtering.
Add some tests that try to compare image's Nearest with my
implementation.  According the PSNR they're very different, but to a
human the look the same.
2020-02-22 09:38:47 -08:00
77d69221d1 Parameterized tests. Include pixels/s. 2020-02-21 13:50:26 -08:00
df28512450 Refactor for testing. 2020-02-20 20:19:27 -08:00
b552b922fa Finish implementation of option parameter resize. 2020-02-19 21:30:12 -08:00
f2f5279266 Handle unset size parameters, print # gc'd entries on startup. 2020-02-19 21:19:40 -08:00
d74a8117d7 Refactor thumbnail generation. 2020-02-17 17:50:43 -08:00
43974b7406 Properly resize images, bump library generation to match. 2020-02-17 14:57:48 -08:00
b801954599 More efficient garbage collection of cache.
Iterates backwards from first entry of this generation, and forward from
last entry.
2020-02-17 14:54:39 -08:00
914e30365e Store thumbnails in rocksdb. 2020-02-17 14:50:09 -08:00
4bb2354fdf Implement album index and image resize. 2020-02-15 08:12:13 -08:00
e191b2a3ff First version of rust web server serving album.json 2020-02-15 07:54:37 -08:00
1c99396705 Move common code to lib module. More stub webservice. 2020-02-10 21:13:46 -08:00
5c0f409f03 Minor logging changes. 2020-02-10 21:03:04 -08:00
c4deab996b Move file creation code to library module. 2020-02-10 20:59:52 -08:00