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

Error with HEIC files #1346

Open
g123k opened this issue Jan 29, 2025 · 10 comments
Open

Error with HEIC files #1346

g123k opened this issue Jan 29, 2025 · 10 comments

Comments

@g123k
Copy link

g123k commented Jan 29, 2025

Hi everyone!

If we try to upload an image in HEIC format (used by iPhones), the form is valid, but it will fail just after.
Image

@raphodn
Copy link
Member

raphodn commented Jan 29, 2025

Ah ! Could you share an image here, so that I can test/reproduce ? (via imgbb.com for instance)

@g123k
Copy link
Author

g123k commented Jan 29, 2025

@raphodn
Copy link
Member

raphodn commented Jan 29, 2025

Thanks !! Will investigate today.
We compress images in webp before sending them to the server. The problem is likely here.

  • though I'm surprise it's worked for now on other iphones via the web page
  • can you test uploading a regular photo (jpg) to be sure the problem is not on your side ?

@g123k
Copy link
Author

g123k commented Jan 29, 2025

Actually, it's an HEIC file from my iPhone, but it was sent from my desktop

@raphodn
Copy link
Member

raphodn commented Jan 29, 2025

Ok tested, I have an error as well.
It's strange I thought we didn't have any issues with HEIC, see #170

Will dig deeper

@raphodn
Copy link
Member

raphodn commented Jan 31, 2025

@g123k which browser did you use ? https://caniuse.com/heif

@raphodn
Copy link
Member

raphodn commented Jan 31, 2025

there seems to be some conversion libraries dedicated to HEIC, for instance https://github.com/catdad-experiments/heic-convert

@g123k
Copy link
Author

g123k commented Jan 31, 2025

@g123k which browser did you use ? caniuse.com/heif

Chrome on desktop

@raphodn
Copy link
Member

raphodn commented Feb 2, 2025

@g123k could you try with safari ? (if you have a Mac ?)

@g123k
Copy link
Author

g123k commented Feb 2, 2025

@g123k could you try with safari ? (if you have a Mac ?)

Indeed, there's no error with Safari

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

No branches or pull requests

2 participants