linagora / twake-on-matrix

A multi-platform (Flutter) application for connecting to Matrix - an open network for secure, decentralized communication, with your favorite devices.
GNU Affero General Public License v3.0
64 stars 18 forks source link

TW-1980: Convert HEIC files to jpg file #1988

Closed sherlockvn closed 3 months ago

sherlockvn commented 3 months ago

Ticket

Related issue

1980

Root cause

If this is a bug, please provide a brief description of the root cause of the issue HEIC, HEIF image format can't display in web platform

Solution

Outline the implemented solution, detailing the changes made and how they address the issue We have to convert HEIC, HEIF format to common image format like JPG when send images from iOS, so that it can be displayed in other platform.

Test recommendations

Recommendations for how to test this, or anything else you are worried about? Try sending HEIC, HEIF files from iOS device, then see that its displayed well in other platforms or not

Pre-merge

Does anything else need to be done before merging?

Resolved

Attach screenshots or videos demonstrating the changes

https://github.com/user-attachments/assets/1998e708-dbe0-4c91-ab27-9a613ff81ba7

https://github.com/user-attachments/assets/e42c32d0-075f-47a3-b828-54290686d20e

https://github.com/user-attachments/assets/58973c9d-81ec-485d-8f97-e2038abb514a

github-actions[bot] commented 3 months ago

This PR has been deployed to https://linagora.github.io/twake-on-matrix/1988