Note that there are two Godot-specific changes made to libwebp for the javascript/HTML5 platform. They are documented in the README.md.