Will Norris
2794d47390
accept "fit" option
...
this also relaxes option parsing to never return an error. In cases
where options are not able to be parsed, they are silently ignored.
2013-12-06 11:12:57 -08:00
Will Norris
805aa606ca
image transformation improvements
...
- switch to disintegration/imaging library, which supports more of the
transformations I want to add
- pass image through untouched if provided Options are empty
2013-12-06 09:23:04 -08:00
Will Norris
fde104a7a1
allow options path segment to be omitted
2013-12-05 08:31:19 -08:00
Will Norris
45d07f2378
add support for image resizing
2013-12-04 23:45:06 -08:00
Will Norris
f6f757a75d
rename Transform back to Options
2013-12-04 23:12:44 -08:00
Will Norris
402e2c7d83
switch port flag to addr to allow specifying host
2013-12-04 03:58:26 -08:00
Will Norris
deaf0abd50
add whitelist of allowed remote hosts
2013-12-04 03:12:56 -08:00
Will Norris
95fdd8b79f
add basic caching support
...
includes two implementations, a no-op NopCache and an in-memory
MemoryCache.
2013-12-04 02:55:56 -08:00
Will Norris
a8fb3012bd
move data structures to data package
...
also use io.Copy to copy fetched image to http.ResponseWriter.
2013-12-04 00:37:13 -08:00
Will Norris
11441a107a
add initial (pretty naive) server implementation
2013-11-27 14:45:46 -08:00
Will Norris
e61fba8787
parse http requests to image requests
2013-11-27 11:13:54 -08:00
Will Norris
203edd958a
initial readme and license
2013-11-27 08:42:33 -08:00
Will Norris
5d75e8a64b
initial empty commit
2013-11-27 08:19:15 -08:00