I'm curious if this has been tried before. I want to add HEIC support to a photo-viewer web app on my local machine only. I've tried to make a userscript but have no experience with these. The goal is to get it to replace any <img> tag with an HEIC source with a render of the image.
This is as far as I got. It gives the error Could not parse HEIF file Invalid input: No 'meta' box.
I'm curious if this has been tried before. I want to add HEIC support to a photo-viewer web app on my local machine only. I've tried to make a userscript but have no experience with these. The goal is to get it to replace any
<img
> tag with an HEIC source with a render of the image.This is as far as I got. It gives the error
Could not parse HEIF file Invalid input: No 'meta' box
.