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

Preview generation for iOS 18 HEIC photos do fail #2332

Open
2b2bff opened this issue Nov 10, 2024 · 6 comments
Open

Preview generation for iOS 18 HEIC photos do fail #2332

2b2bff opened this issue Nov 10, 2024 · 6 comments

Comments

@2b2bff
Copy link

2b2bff commented Nov 10, 2024

Even with the newest image containing Nextcloud 30.0.2 the preview of the photos captured with iOS 18 are missing. Funnily enough there is a message that you should not use Imaginary as it has known issues with HEIC files.

The issue is fixed with an upgraded libheif (1.18.0 includes the needed change) and an ImageMagick version compiled against it.

More information about this (in German) under https://decatec.de/home-server/nextcloud-fehlerhafte-bildanzeige-von-heic-bildern-beheben-ios-ipados-18/

@joshtrichards
Copy link
Member

Which image are you referring to? Keep in mind we have multiple variants (Debian, Alpine)? Though I suppose it doesn't change the end result.

Our Alpine images will likely pick up libheif 1.18.x in 30-60 days when Alpine 3.21 is published.

For our Debian (Bookworm) images this is a bit trickier.

Funnily enough there is a message that you should not use Imaginary as it has known issues with HEIC files.

I believe this is no longer true. That's my understanding since nextcloud/server#37140 was merged. I think the upstream docs need to be updated.

@hinaloe
Copy link

hinaloe commented Nov 15, 2024

Surprisingly, (perhaps because there was also a debian bug ticket), a backported release of libheif is available for bookworm.

However, there seems to be no activity in Imagemagick, one of the most important things. Perhaps because it is statically linked, the problem may still not be resolved?

(This issue is related to nextcloud/server#47289)

@2b2bff
Copy link
Author

2b2bff commented Nov 15, 2024

Even the official all-in-one image has no support for the new HEIC, yet...

@szaimen
Copy link
Contributor

szaimen commented Nov 17, 2024

Even the official all-in-one image has no support for the new HEIC, yet...

It will automatically be included as soon as alpine which the containers are based on includes the new libheif binary

@vnescape
Copy link

What are the chances of Debian-based images getting iOS 18 HEIC photo support? Should the dockerfile maybe build imagemagic with the new libheif version?

@szaimen
Copy link
Contributor

szaimen commented Dec 20, 2024

Even the official all-in-one image has no support for the new HEIC, yet...

It will automatically be included as soon as alpine which the containers are based on includes the new libheif binary

The AIO containers were just update to Alpine v3.21 which is now released with v10.2.0 Beta. Testing and feedback is welcome! See https://github.com/nextcloud/all-in-one#how-to-switch-the-channel

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

No branches or pull requests

5 participants