Closed shamoons closed 1 year ago
That's because the heic2any
can also handle multiple files. When your sure to only convert one file you could write:
...
const convertedFile = (await heic2any({ blob: imgBlob })) as Blob;
...
At least that's how I did it. 🤷
I'm doing:
And the
heicReader.readAsDataURL(convertedFile);
complains about: