Andreas Schneider

Results 36 comments of Andreas Schneider

Give it a shot with the in-development version 2: `go get -u github.com/h2non/bimg/v2@v2-dev`. The API is not stable yet, though.

In the v2-dev branch this is also fixed. However I bumped the minimum required version of vips to 8.10 (since it's not feasible to test and maintain older versions).

@igsr5 with bimg v1, the two operations (`.Resize(...)` and `.Convert()`) both load, transform and then encode the image. That's also why the first resize is so slow, because it needs...

What's the expectation here? PNG is a lossless format and optimized for computer graphics, not photos. JPEG achieves its smaller size due to its lossy compression. So I don't see...

BMP should work in the v2 in-development version now. `go get -u github.com/h2non/bimg/v2@v2-dev`. The API is not stable yet, obviously.

What version of libvips are you using? Native animated GIF support is only present since 8.12. Before that it likely falls back to imagemagick which is HORRIBLE for animated gifs.

We also just ran into this problem and I am a little shocked that this is "known" for so long and not tackled yet, even though there is a proposal...

@pkieltyka Thanks for the feedback and sorry for my slightly harsh words. Keep up the good work!

That wouldn't work, since the limit can be fractional; `GOMAXPROCS` can't. Also I assume there can be other cases (like containers in containers), where it's not so easy to derive...

Adding to that: having the hooks be called with the `context.Context` of the incoming request (or a child of it) makes sense, since the hooks might make outgoing calls themselves...