disintegration / imaging

Imaging is a simple image processing package for Go
MIT License
5.22k stars 433 forks source link

WebP support #146

Open inliquid opened 3 years ago

inliquid commented 3 years ago

Hey @disintegration,

I have read your comments posted a years ago saying that WebP is not widely used. However, nowadays it seems that adoption is on it's way in the web https://caniuse.com/?search=webp and since it's superior to JPEG, PNG or GIF in many aspects, the demand will grow. What about adding this functionality even at cost of introducing some extra dependency? Maybe implement it with some kind of an add-on mechanism?

bk-oak commented 3 years ago

I believe that the issue is likely the lack of native encoding of WEBP within the x/image package. see the following feature requests. https://github.com/golang/go/issues/45121

benjiro29 commented 1 year ago

https://git.sr.ht/~jackmordaunt/go-libwebp

Its Experimental, but works great so far.