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

[BUG] iOS 18 iPhone 15 Pro HEIC cannot be viewed or previewed #476

Open
1 task done
wama3366 opened this issue Oct 4, 2024 · 7 comments
Open
1 task done

[BUG] iOS 18 iPhone 15 Pro HEIC cannot be viewed or previewed #476

wama3366 opened this issue Oct 4, 2024 · 7 comments

Comments

@wama3366
Copy link

wama3366 commented Oct 4, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Since I updated my iPhone 15 Pro to iOS 18, the uploaded images to Nextcloud cannot be opened and previews cannot be generated. The photos are in the HEIC format and they used to work normally before the update. This applied to the Web GUI and the iOS app.
I cannot find any information whether iOS 18 has changed anything in the HEIC format, but the photos still work OK on Windows and in Google Photos. They're only messed up in Nextcloud.
2024-10-04 19_37_04-All your media - Photos - Nextcloud

Expected Behavior

Should be able to view HEIC photos and have previews generated and displayed.

Steps To Reproduce

With an iPhone 15 Pro updated to iOS 18, take a photo in HEIC format and upload to Nextcloud. The image cannot be viewed in Nextcloud but can be downloaded and viewed on Windows.

Environment

- OS: 
iOS 18
- How docker service was installed:
Installed from Unraid's apps on an Unraid server.

CPU architecture

x86-64

Docker creation

Installed and configured on an Unraid server using Unraid's apps.

Container logs

No errors or log entries regarding the issue
Copy link

github-actions bot commented Oct 4, 2024

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@Jams309
Copy link

Jams309 commented Oct 8, 2024

I have noticed that libheif got an update to 1.8.0 to make IOS 18 HEIC images compatible. Looking at the current package_version.txt libheif is at 1.7.6. Can this be updated to 1.8.x to fix the compatibility with IOS 18?

@thespad
Copy link
Member

thespad commented Oct 8, 2024

The package is installed from the Alpine repos: https://pkgs.alpinelinux.org/package/v3.20/community/x86_64/libheif

They would need to bump the package to 1.18.x for us to be able to include it.

@bachmma1
Copy link

bachmma1 commented Nov 2, 2024

I had the same problem and as a workaround i used the following command inside the container terminal as root:

apk upgrade libheif --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community

This upgrades the package libheif to 1.18.2 Alpine Linux Edge Package.
This works until you upgrade the container through a new image, as the upgrade resets the package to the image-default.

Just for completeness: strukturag/libheif#1190

@tuobraun
Copy link

I had the same problem and as a workaround i used the following command inside the container terminal as root:

apk upgrade libheif --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community

Thank you very much for your help! It worked out!

@wama3366
Copy link
Author

I had the same problem and as a workaround i used the following command inside the container terminal as root:

apk upgrade libheif --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community

Oh thank you very much... that worked beautifully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Issues
Development

No branches or pull requests

6 participants