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

HEIC avoidance #580

Open
edemaine opened this issue Jun 3, 2021 · 0 comments
Open

HEIC avoidance #580

edemaine opened this issue Jun 3, 2021 · 0 comments

Comments

@edemaine
Copy link
Owner

edemaine commented Jun 3, 2021

iOS devices like to take pictures in HEIC, which isn't supported in any browser except Safari. Luckily, the browser sometimes converts to JPEG on web form uploads.

I'm hypothesizing that an <input accept="image/*,*/*"> attribute will encourage conversion. But it messes up desktop browsers (makes the default extension list just images). So maybe need to detect host system and add header accordingly?

Alternatively, perhaps we could detect HEIC on the client side, convert to JPEG on the client side (as the user is presumably using Safari, so the file can be supported), and upload that instead?

@edemaine edemaine mentioned this issue Jun 23, 2022
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

1 participant