Convert image to Webp using javascript / jquery without executing the exe
185 views
Skip to first unread message
Mari Raj
unread,
Mar 1, 2023, 2:04:37 AM3/1/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to WebP Discussion
Hi all,
Im trying to convert image to webp using javascript / jquery.
Is there any tool / plugin equivalent to cwebp converter.
James Zern
unread,
Mar 8, 2023, 7:21:11 PM3/8/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to webp-d...@webmproject.org
Hi,
A wasm / js version of libwebp can be built. Though our sample only shows decoding, it could be extended to support encoding. This or using <canvas> can work if you can provide the decoded image, which might require more libraries pulled in for decoding or reading back the decoded <img>s.