element-hq / element-hq/element-x-ios

Element X should convert HEIC to JPG when posting

Open
#1,946 8 comments 1 reaction 0 assignees View on GitHub
A-File-Upload A-Media A-Timeline O-Frequent S-Minor T-Enhancement X-Needs-Product
Dominant language
Swift
Stars
945
Forks
372
Avg merge
21h 42m
Merged PRs (30d)
67

Description

### Steps to reproduce

The Element iOS client converts HEIC to JPG when they are added to a room. This allows the images to be viewed properly on other clients, since Chromium doesn't support HEIC. When the same image is posted to a room on Element-X, it remains in HEIC format, so other users cannot view it without, e.g., saving and opening with Mac Safari or Preview. Can Element-X leverage the same iOS functionality (I assume built in to the OS) that Element uses to convert HEICs on upload?

### Outcome

HEIC should be converted to JPG, but it's not.

### Your phone model

_No response_

### Operating system version

_No response_

### Application version

_No response_

### Homeserver

_No response_

### Will you send logs?

No

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.