@MickJT
Yes, the WebP code is based on the iconv.library code (it may have gone through some interim revisions).
libwebp has a lot more functions though (and the API annoyingly gets tweaked with every release). However, you should be able to build a newer webp.library by building libwebp, copying over the amiga_lib directory, and then running make -fmakefile.lib in there.
Best case that will work, but most likely you'll need to scour through the libwebp includes to update the webp.library ones. Any functions that have been removed or changed need to be stubbed/redirected and new ones added to the end of the list. Then the static stub library needs to be updated in sync (functions there need to match the libwebp ones, no need for old stuff to hang around).
AFAIK only my webp.datatype currently uses webp.library (cwebp and dwebp should be rebuilt against the new one of course) so if you break it it's unlikely to be noticed
The WebP datatype only uses a couple of functions (can't remember which ones now)
It's unfortunately a very dull process, which is why I don't update webp.library unless I'm prompted to do so. If I learn they've added meta-data I'll do it just so I can add that to the datatype. Until then it can wait!