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

Croppie supporting HEIC image format? #763

Open
sipritch opened this issue Aug 10, 2021 · 1 comment
Open

Croppie supporting HEIC image format? #763

sipritch opened this issue Aug 10, 2021 · 1 comment

Comments

@sipritch
Copy link

Hi all -

First post here, so please treat me gently!

Have got Croppie up and running and works a treat, for everything except selected files with the .HEIC extension. Once loaded, it gives no preview and the save control becomes greyed out.

My understanding was that Croppie would load any image file, which could then be processed and outputted (in my case, always as a JPG).

For 97% of users, it works perfectly as is, but for the Apple fans who insist on using .HEIC, I ideally need to give them an alternative solution other than a message along the lines of "use the same format as the rest of the world" (which is what I want to say).

Thanks in advance and amazing work from the community in getting this up and running.

@01CodeLT
Copy link

01CodeLT commented Sep 9, 2021

I highly doubt this package would begin supporting heic files directly especially since the plugin uses a HTML canvas which doesn't support this file format. I'd recommend converting the image to a jpeg or png using a library like this https://alexcorvi.github.io/heic2any/ and then bind it to the croppie instance.

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

2 participants