I am trying to make a small Javascript bookmarklet that can save .webp images as a more common .jpg format.
One way of doing this is to Right Click and Copy the .webp and paste it into MS-Paint and save it as a .jpg
My idea is to somehow copy the image data to another element which would be a .jpg, making it easier to Right Click and Save the image.
Is there any way to do this with Javascript?
(If I'm not explaining this properly, imagine a Javascript that can display a .webp image data as bytes in a text field. Then convert that image data back into a .jpg image element.)