iOS app converts image (HEIC -> JPG) before sharing #5979

Closed
opened 2026-02-05 11:54:27 +03:00 by OVERLORD · 16 comments
Owner

Originally created by @RyoShinzo on GitHub (May 9, 2025).

I have searched the existing issues, both open and closed, to make sure this is not a duplicate report.

  • Yes

The bug

When I share a photo using the iOS app, Immich won't simply use the existing HEIC file on my iPhone (or on the Immich server), but instead convert it to JPG before allowing me to share it. The consequence is that a 1.5 MB HEIC file gets converted into a 9 MB JPG file. As this doesn't make sense to me, I assume this is a bug and not a feature.

So, ideally, it will be possible in the future to share the original file and avoid unnecessary conversion.

The OS that Immich Server is running on

Debian

Version of Immich Server

v1.132.3

Version of Immich Mobile App

v1.132.3 build.205

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

should be irrelevant for this issue

Your .env content

should be irrelevant for this issue

Reproduction steps

  1. Open iOS Immich app
  2. Select a photo
  3. Select "Share"
  4. Immich app will convert the photo to JPG and only allow sharing the JPG

Relevant log output


Additional information

No response

Originally created by @RyoShinzo on GitHub (May 9, 2025). ### I have searched the existing issues, both open and closed, to make sure this is not a duplicate report. - [x] Yes ### The bug When I share a photo using the iOS app, Immich won't simply use the existing HEIC file on my iPhone (or on the Immich server), but instead convert it to JPG before allowing me to share it. The consequence is that a 1.5 MB HEIC file gets converted into a 9 MB JPG file. As this doesn't make sense to me, I assume this is a bug and not a feature. So, ideally, it will be possible in the future to share the original file and avoid unnecessary conversion. ### The OS that Immich Server is running on Debian ### Version of Immich Server v1.132.3 ### Version of Immich Mobile App v1.132.3 build.205 ### Platform with the issue - [ ] Server - [ ] Web - [x] Mobile ### Your docker-compose.yml content ```YAML should be irrelevant for this issue ``` ### Your .env content ```Shell should be irrelevant for this issue ``` ### Reproduction steps 1. Open iOS Immich app 2. Select a photo 3. Select "Share" 4. Immich app will convert the photo to JPG and only allow sharing the JPG ### Relevant log output ```shell ``` ### Additional information _No response_
Author
Owner

@melyux commented on GitHub (May 12, 2025):

This happens the other way around too. If I press Share from the app for a HEIC photo, it tries to share it converted into a huge JPEG instead of the original picture, and it's missing all the original metadata including date.

@melyux commented on GitHub (May 12, 2025): This happens the other way around too. If I press Share from the app for a HEIC photo, it tries to share it converted into a huge JPEG instead of the original picture, and it's missing all the original metadata including date.
Author
Owner

@RyoShinzo commented on GitHub (May 12, 2025):

This happens the other way around too. If I press Share from the app for a HEIC photo, it tries to share it converted into a huge JPEG instead of the original picture, and it's missing all the original metadata including date.

But that is exactly the direction I’m describing. :)

@RyoShinzo commented on GitHub (May 12, 2025): > This happens the other way around too. If I press Share from the app for a HEIC photo, it tries to share it converted into a huge JPEG instead of the original picture, and it's missing all the original metadata including date. But that is exactly the direction I’m describing. :)
Author
Owner

@melyux commented on GitHub (May 13, 2025):

Then it happens the other other way around too 😂, when sharing to Immich from the Photos app (unless you specify "current" manually from the share sheet settings). PhotoSync does this automatically without having to choose this option.

@melyux commented on GitHub (May 13, 2025): Then it happens the _other_ other way around too 😂, when sharing to Immich from the Photos app (unless you specify "current" manually from the share sheet settings). PhotoSync does this automatically without having to choose this option.
Author
Owner

@NicholasFlamy commented on GitHub (May 13, 2025):

This is an iOS issue. Check iOS settings for a sharing setting about automatically convert to compatibility format.

@NicholasFlamy commented on GitHub (May 13, 2025): This is an iOS issue. Check iOS settings for a sharing setting about automatically convert to compatibility format.
Author
Owner

@RyoShinzo commented on GitHub (May 13, 2025):

This is an iOS issue. Check iOS settings for a sharing setting about automatically convert to compatibility format.

I can’t find any option in iOS that would allow me to change this behavior.

@RyoShinzo commented on GitHub (May 13, 2025): > This is an iOS issue. Check iOS settings for a sharing setting about automatically convert to compatibility format. I can’t find any option in iOS that would allow me to change this behavior.
Author
Owner

@NicholasFlamy commented on GitHub (May 13, 2025):

This is an iOS issue. Check iOS settings for a sharing setting about automatically convert to compatibility format.

I can’t find any option in iOS that would allow me to change this behavior.

Here is how to change it while sharing, I'm not sure if it remembers this setting but if it doesn't then there must be a setting in settings to change the default behavior:
https://support.apple.com/guide/iphone/share-photos-and-videos-iphf28f17237/18.0/ios/18.0
Image
Image

@NicholasFlamy commented on GitHub (May 13, 2025): > > This is an iOS issue. Check iOS settings for a sharing setting about automatically convert to compatibility format. > > I can’t find any option in iOS that would allow me to change this behavior. Here is how to change it while sharing, I'm not sure if it remembers this setting but if it doesn't then there must be a setting in settings to change the default behavior: https://support.apple.com/guide/iphone/share-photos-and-videos-iphf28f17237/18.0/ios/18.0 ![Image](https://github.com/user-attachments/assets/a9bf9a5a-83ff-4e81-8920-954ce91c8ec5) ![Image](https://github.com/user-attachments/assets/95b2de99-a380-4ec2-91a0-7cc3288d4353)
Author
Owner

@RyoShinzo commented on GitHub (May 13, 2025):

@NicholasFlamy: That probably solves the issue @melyux added to this ticket, but not my original one.

@RyoShinzo commented on GitHub (May 13, 2025): @NicholasFlamy: That probably solves the issue @melyux added to this ticket, but not my original one.
Author
Owner

@NicholasFlamy commented on GitHub (May 13, 2025):

@NicholasFlamy: That probably solves the issue @melyux added to this ticket, but not my original one.

Unless something changed in one of the very recent versions, immich is not programmed to do the behavior you described. So that must be iOS doing that.

@NicholasFlamy commented on GitHub (May 13, 2025): > [@NicholasFlamy](https://github.com/NicholasFlamy): That probably solves the issue [@melyux](https://github.com/melyux) added to this ticket, but not my original one. Unless something changed in one of the very recent versions, immich is not programmed to do the behavior you described. So that must be iOS doing that.
Author
Owner

@melyux commented on GitHub (May 14, 2025):

Why would iOS determine what format a file can be shared in from within the app? That's not it. That's under Immich's control.

@melyux commented on GitHub (May 14, 2025): Why would iOS determine what format a file can be shared in from within the app? That's not it. That's under Immich's control.
Author
Owner

@NicholasFlamy commented on GitHub (May 14, 2025):

Why would iOS determine what format a file can be shared in from within the app? That's not it. That's under Immich's control.

Send a screenshot of the options page when you share from immich:

Image

Edit: To answer your question, iOS has done it since at least the iPhone 8.

@NicholasFlamy commented on GitHub (May 14, 2025): > Why would iOS determine what format a file can be shared in from within the app? That's not it. That's under Immich's control. Send a screenshot of the options page when you share from immich: ![Image](https://github.com/user-attachments/assets/753eed67-c4b4-4948-b8ad-b2324808c230) Edit: To answer your question, iOS has done it since at least the iPhone 8.
Author
Owner

@melyux commented on GitHub (May 14, 2025):

I think you're talking about the wrong thing. This is about trying to download/share a picture from inside Immich. Here's how it looks:

image

@melyux commented on GitHub (May 14, 2025): I think you're talking about the wrong thing. This is about trying to download/share a picture from inside Immich. Here's how it looks: ![image](https://github.com/user-attachments/assets/3353ead2-2a2c-4029-b45c-5438973806e6)
Author
Owner

@NicholasFlamy commented on GitHub (May 14, 2025):

I think you're talking about the wrong thing. This is about trying to download/share a picture from inside Immich. Here's how it looks:

image

What is this screen? Is this after tapping Share:

Image

@NicholasFlamy commented on GitHub (May 14, 2025): > I think you're talking about the wrong thing. This is about trying to download/share a picture from inside Immich. Here's how it looks: > > ![image](https://github.com/user-attachments/assets/3353ead2-2a2c-4029-b45c-5438973806e6) What is this screen? Is this after tapping Share: ![Image](https://github.com/user-attachments/assets/4ea5a831-6784-4141-a4e1-7253f9c1997a)
Author
Owner

@NicholasFlamy commented on GitHub (May 14, 2025):

I just checked with my friend's iPhone that sharing images from discord doesn't give an Options button.

I looked through all open and closed PRs and didn't see anything about converting to JPEG before sharing.

I have an iPhone 8 Plus and a newer iPad with either the latest or second to latest version of iPadOS. I'll give those a shot to see if I can reproduce.

@NicholasFlamy commented on GitHub (May 14, 2025): I just checked with my friend's iPhone that sharing images from discord doesn't give an Options button. I looked through all open and closed PRs and didn't see anything about converting to JPEG before sharing. I have an iPhone 8 Plus and a newer iPad with either the latest or second to latest version of iPadOS. I'll give those a shot to see if I can reproduce.
Author
Owner

@b0nef1sh commented on GitHub (May 29, 2025):

I’ve noticed this too and made the observation that a downloaded picture is shared as a jpeg and an online stored picture as the original heic. The first picture is on the device, the second not:

Image
Image

Maybe this helps somewhat

@b0nef1sh commented on GitHub (May 29, 2025): I’ve noticed this too and made the observation that a downloaded picture is shared as a jpeg and an online stored picture as the original heic. The first picture is on the device, the second not: ![Image](https://github.com/user-attachments/assets/58e94b02-f9ef-4984-8bc2-5b62f6efc455) ![Image](https://github.com/user-attachments/assets/135e3382-a5ed-47a5-95a9-05ec87249bc0) Maybe this helps somewhat
Author
Owner

@mmomjian commented on GitHub (Jul 14, 2025):

Unable to replicate with 1.135.3 and latest iOS. If this is still an issue, can someone please post screenshots of the full process?

@mmomjian commented on GitHub (Jul 14, 2025): Unable to replicate with 1.135.3 and latest iOS. If this is still an issue, can someone please post screenshots of the full process?
Author
Owner

@RyoShinzo commented on GitHub (Jul 14, 2025):

Unable to replicate with 1.135.3 and latest iOS. If this is still an issue, can someone please post screenshots of the full process?

Seems to be resolved. It no longer happens to me.

@RyoShinzo commented on GitHub (Jul 14, 2025): > Unable to replicate with 1.135.3 and latest iOS. If this is still an issue, can someone please post screenshots of the full process? Seems to be resolved. It no longer happens to me.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#5979