MIME type 'image/webp' could not be instantiated. #177
|
When uploading any .webp image using the following function it throws an error. Stacktrace: |
Answered by
saucecontrol
Feb 19, 2025
Replies: 1 comment 1 reply
|
The error message says it all: the Windows (WIC) WebP codec can't be instantiated. You have two possible solutions:
|
1 reply
Answer selected by
ncowan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The error message says it all: the Windows (WIC) WebP codec can't be instantiated. You have two possible solutions:
Figure out why the WIC codec can't be instantiated. (You really need to provide information about your environment if you're asking for help of this nature)
Use the libwebp native codec plugin, which does not rely on WIC.