0
Fork 0
mirror of https://github.com/willnorris/imageproxy.git synced 2024-12-16 21:56:43 -05:00
Commit graph

10 commits

Author SHA1 Message Date
Will Norris
7eeacfca7a standardize copyright statements (Inc -> LLC) 2019-11-30 10:04:17 -08:00
Will Norris
d8ed21c0f4 fix docker build with new envy package 2019-06-09 21:55:19 +00:00
Will Norris
50e0d1104d allow using environment vars for configuration
fixes #151
2019-06-09 21:11:01 +00:00
Will Norris
576b7c023a return 504 status for timeout errors
modify custom TimeoutHandler to return 504 error and switch imageproxy
to use that func.

Fixes #75
2016-11-29 15:42:08 -08:00
Will Norris
e180185856 add copy of net/http package
this includes an exact copy of the TimeoutHandler func and supporting
types from net/http, modified only to handle minor issues for imported
types.

Ref: #75
2016-11-29 15:42:08 -08:00
Will Norris
dbf505d137 move gifresize into its own repo 2015-05-29 08:02:30 -07:00
Will Norris
5e9ceeaaf6 retain original color palette for resized gifs 2015-05-18 15:37:28 -07:00
Will Norris
66fcba95a0 don't drop error from gif.EncodeAll 2015-05-18 15:15:54 -07:00
Will Norris
58bb2e4ce9 refactor gifresize to be a resuable package
- move out of main package
- export Process func
- Process now accepts an io.Reader and io.Writer as input rather than
  working directly on files
- Process accepts a transform function as input rather than always
  resizing to a fixed size
2015-05-15 15:58:03 -07:00
Will Norris
ef63a74da1 initial import of gifresize package
imported from github.com/dpup/go-scratch/gif-resize under Apache 2.0
license.  License header added to gifresize.go rather than include the
full LICENSE file, since imageproxy is under the Apache 2.0 also and we
already have a copy of the license in the root of this repo.
2015-05-15 15:56:06 -07:00