murongg / vue3-lazyload

A Vue3.x image lazyload plugin
https://murongg.github.io/vue3-lazyload/
166 stars 19 forks source link

Problem with heic format #41

Closed vaske closed 1 year ago

vaske commented 1 year ago

I was trying to allow usage of heic format and notice that using lazy loading it have problem with it

index.mjs:144 Uncaught Error: Image failed to load!And failed src was: data:image/heic;base64,....

Do you plan to add support for it anytime or?

murongg commented 1 year ago

Is you use base64 load heic resource?

murongg commented 1 year ago

I discovered through a Google search that HEIC is not a commonly used image format. To access it, a decoder is required, which means that browsers do not inherently support this format.

vaske commented 1 year ago

yeah I used decoder, thanks