Will Norris
Will Norris
I don't see why not, though I've never actually tried it myself. Inside your function, you'd want to create an `imageproxy.Proxy` object, configured to your liking, and then call its...
For what it's worth, I use imageproxy with [Google Cloud Run](https://cloud.google.com/run/), which I guess still fits into the "serverless" style of services, but it's a level up from function-based, since...
Okay, turns out it is **incredibly** simple on Google Cloud Functions. I just used the inline editor with the following: `function.go` ```go package p import ( "net/http" "willnorris.com/go/imageproxy" ) func...
hah, no you're not missing anything. I hadn't really expected those packages to be used outside the context of the main package, but this is a really good example of...
I can't seem to reproduce this anymore with the above image I mentioned. I haven't tried a git bisect yet to see when this started working. But if you have...
likely related to #92? Try with a build from current master.
@aaronpk, yeah that sounds like a perfectly reasonable request. Tracking in #200
So I've got a pretty good working version of this, including SVG output, in the [primitive branch](https://github.com/willnorris/imageproxy/tree/primitive). You can see a live demo at https://imageproxy.willnorris.com/x,p50:0,svg,s5ErGX8tP-RIhwUGsU3ZzzpHAtTyAe4UaIXWVDvc7Inc/https:/live.staticflickr.com/7866/46197994095_d9bbc25e3f_b.jpg The biggest problem right now...
I was finally able to generate it on Google Cloud Run: https://imageproxy.willnorris.com/x,p2000:6,png,spgJ-QGIOcbeYaEN-HPhtUbfS9vaoQ5JvExGt88TaP5E=/https:/live.staticflickr.com/7866/46197994095_d9bbc25e3f_b.jpg (bumped GCR to 2 GB memory, and 15 minute request timeout... took about 10 minutes to generate)
is imageproxy crashing immediately after trying to load this invalid image? The "exited with code 137" looks like an [out of memory error from docker](https://www.google.com/search?q=exited+with+code+137). There are certainly other reports...