Skip to content

Ability to convert HEIC to JPG #63754

Description

@mpivchev

Tip

Help move this idea forward

  • Use the 👍 reaction to show support for this feature.
  • Avoid commenting unless you have relevant information to add; unnecessary comments create noise for subscribers.
  • Subscribe to receive notifications about status changes and new comments.

Is your feature request related to a problem? Please describe.
In an effort to improve auto-upload functionality on iOS, we plan to use the new API for iOS 27+ that allows us to upload photos/videos in the background faster and more reliably.
For this, however, we need to move the conversion of HEIC to JPG from client to server, as the new API does not allow asset modifications.

Describe the solution you'd like
Add the ability for server to convert a newly uploaded HEIC photo to a JPG. The conversion will be an optional toggle on the iOS app, so we can specify conversion with maybe a header field or some other param.

Describe alternatives you've considered
No alternatives.

Additional context
For the current HEIC to JPG conversion on client we use maximum JPG compression quality, so it should be the same on server:

let jpegData = CIContext().jpegRepresentation(
    of: ciImage,
    colorSpace: colorSpace,
    options: [compressionQuality: 1.0]
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending check for reproducibility or if it fits our roadmapenhancement

    Projects

    Status
    To triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions