Hello,
I'm trying to write a reimplementation of WebP image decoder heavily based on libwebp. I'm inspired by other single-file libraries such as lodepng and stb_image in which they're easy to integrate in projects. Unfortunately said thing doesn't exist for WebP yet.
So far, I've implemented the VP8 lossy decoding stage with bit-exact result as libwebp for my own test image. Ultimately, the goal is to encompass full WebP support, including VP8L/lossless, alpha channels, and passing official tests (if available, subject to certain restrictions). However, for simplicity, animation and metadata parsing is out of scope of the project. It is also does not try to be performant decoder.
Before dedicating further time and effort, I have a few legal questions:
- Can I freely distribute the source code of my reimplementation?
- If so, would using a different license like zlib be permissible?
- How do WebP patents apply to my reimplementation?
Please do note that my project does not try to compete libwebp. If the developer needs any of these:
- Encoding image to WebP;
- Loading animation in WebP images;
- Extracting metadata out of WebP images; or
- If performant decoder is necessary
then developers are encouraged to use libwebp instead of my reimplementation.
Thank you for your understanding.