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

6 commits

Author SHA1 Message Date
Will Norris
ad54d71881 first pass at supporting a default base URL
this allows remote images to be specified as relative URLs, relative to
the `DefaultBaseURL` field.  Fixes #15.
2015-04-28 08:25:10 -07:00
Pete Smith
e7b0a5b88c Add quality option
- Added 'q' option to specify quality (used for JPEGs)
- Updated tests
- Update documentation
2015-02-12 17:49:43 +00:00
Will Norris
0980ea64a0 define constants for option strings
this prevents extra allocations in ParseOptions and cleans up the code a
bit, but doesn't actually improve performance in any meaningful way.
2015-01-25 00:30:15 -08:00
Will Norris
54ddf21df2 add docs and cleanup data code
- simplify ParseOptions
- add lots of docs to ParseOptions and NewRequest
- cleanup some data tests

No behavioral changes.
2014-11-23 15:41:55 -08:00
Will Norris
4a5f24e4ec there's no need for Options to be a pointer 2014-11-19 21:59:52 -08:00
Will Norris
a74e590181 restructure imageproxy package
- move binary from imageproxy.go to cmd/imageproxy/main.go
- move proxy package up to top level
2014-07-30 18:23:43 -07:00
Renamed from proxy/data_test.go (Browse further)