Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for HEIC #116

Closed
mesqueeb opened this issue Feb 12, 2021 · 7 comments
Closed

Support for HEIC #116

mesqueeb opened this issue Feb 12, 2021 · 7 comments

Comments

@mesqueeb
Copy link

On the website I can't seem to drag and drop .HEIC images (from iPhone camera roll)

Is this library supported when a user uploads an image via iPhone camera roll? (therefore the image is probably HEIC)

image

@fengyuanchen
Copy link
Owner

This is not a problem with Compressor.js, but your operating system or browser!

@fengyuanchen
Copy link
Owner

Please check out if your operating system or browser supports HEIC files.

@mesqueeb
Copy link
Author

Yes, it's Safari browser and macOS operating system. Both Apple products :)

@umihui
Copy link

umihui commented Mar 2, 2021

I have run into the same issue with Safari browser. The weird part is that it said 'Failed to load the image', but the input image section got the information.
Screen Shot 2021-03-02 at 11 57 22 AM

@Andrew-Chen-Wang
Copy link

This is interesting because the mime type is actually image/gif, which this library doesn't support...

@fengyuanchen
Copy link
Owner

Actually, there are no browsers that support HEIC images currently.

Browser compatibility: https://caniuse.com/heif

@Andrew-Chen-Wang
Copy link

Hm I wonder why compressor.js converted my heic to image/gif. Either way, gifs aren't supported here either so oh well. @umihui There is a JS library for converting HEICs to gif, jpg, and png if you're interested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants