JavaScript-Load-Image icon indicating copy to clipboard operation
JavaScript-Load-Image copied to clipboard

HEIC image support

Open batusai513 opened this issue 5 years ago • 5 comments

Hi, I've been using this library for a while and it works really great, one thing that came up recently is to give HEIC image support, but when I try to load them, it cannot be done, it shows an error, it would be possible to add support for those images with this library?

Thanks.

batusai513 avatar Jun 29 '20 12:06 batusai513

Thanks for your suggestion @batusai513.

I've marked this as a feature request, but it's likely that I will only add this if the HEIC format (HEIF) is natively supported by browsers.

There is the following library that supports converting HEIC images to JPEG/PNG/GIF on the client-side: https://github.com/alexcorvi/heic2any Unfortunately the distribution file for heic2any is more than a Megabyte in size.

See also: https://github.com/blueimp/jQuery-File-Upload/issues/3645

blueimp avatar Jun 30 '20 12:06 blueimp

You may be interested in https://github.com/exif-heic-js/exif-heic-js for reading HEIC EXIF metadata. It is a relatively small library.

edent avatar Oct 22 '20 20:10 edent

Thanks for sharing @edent. I think it's worth considering if reading HEIC EXIF metadata alone is worth it, but so far I still prefer to see if the format will get broad browser support first.

blueimp avatar Oct 24 '20 14:10 blueimp

@blueimp do you support now heic files loading ? Would be really wonderfull

Aarbel avatar Jul 26 '21 15:07 Aarbel

Not yet supported unfortunately.

blueimp avatar Sep 25 '21 02:09 blueimp