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 HEIF images via conversion #635

Open
raphaelcastaneda opened this issue Jul 23, 2023 · 1 comment
Open

Support HEIF images via conversion #635

raphaelcastaneda opened this issue Jul 23, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@raphaelcastaneda
Copy link

Whatsapp itself doesn't support image/heic as an image attachment (they can be sent as documents however). The first-party app converts heic to jpeg before attaching.

Since the whatsapp bridge already supports other types of media conversion, and a golang heic decoder exists, it should be fairly straightforward to add this capability here as well.

@raphaelcastaneda raphaelcastaneda added the enhancement New feature or request label Jul 23, 2023
raphaelcastaneda pushed a commit to raphaelcastaneda/matrix-whatsapp that referenced this issue Jul 23, 2023
Implements feature request mautrix#635 by converting heic files
to jpeg before attaching to a message
@raphaelcastaneda
Copy link
Author

I've opened a PR #636 with a quick implementation of this.

raphaelcastaneda added a commit to raphaelcastaneda/matrix-whatsapp that referenced this issue Jul 23, 2023
Implements feature request mautrix#635 by converting heic files
to jpeg before attaching to a message
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant