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

HEIC: Support spatial images as used for Apple Vision Pro #4117

Open
ChXWu opened this issue Mar 23, 2024 · 2 comments
Open

HEIC: Support spatial images as used for Apple Vision Pro #4117

ChXWu opened this issue Mar 23, 2024 · 2 comments
Labels
help wanted Well suited for external contributors! idea Feedback wanted / feature request metadata Related to Exif, XMP, IPTC & Co.

Comments

@ChXWu
Copy link

ChXWu commented Mar 23, 2024

Describe what problem this solves and why this would be valuable to many users

As apple introduce spacial computing, more apple devices can shoot spacial photos in heic format.

Currently convert command in photoprism will create two sidecar file "IMG_0001.HEIC-1.jpg","IMG_0001.HEIC-2.jpg"from a single spacial photo named IMG_0001.HEIC.

logs being
time="2024-03-23T00:00:00" level=info msg="convert: converting IMG_0001.HEIC to IMG_0001.HEIC.jpg (heif-convert)"
time="2024-03-23T00:00:00" level=error msg="convert: no such file or directory for Mobile/ICloud/2024/01/01/IMG_0001.HEIC"

which seems like photoprism successfully creates two sidecar from one spacial photo but failed to make a connection due to their unusal naming. This would cause missing index and photo in the gallery

Describe the solution you'd like
Stack IMG_0001.HEIC,IMG_0001.HEIC-1.jpg,IMG_0005.HEIC-2.jpg together and index it properly.

Describe alternatives you've considered

An simpler solution would just be naming IMG_0001.HEIC-1.jpg as IMG_0001.HEIC.jpg and treat it as the only side car file.

Additional context
/

@ChXWu ChXWu added the idea Feedback wanted / feature request label Mar 23, 2024
@ChXWu ChXWu changed the title Index: Spacial heic photos are not correctly indexed Index: Spacial photos are not correctly indexed Mar 23, 2024
@lastzero
Copy link
Member

Can you provide us with sample files for testing?
See https://www.photoprism.app/contact

@lastzero lastzero added metadata Related to Exif, XMP, IPTC & Co. help wanted Well suited for external contributors! labels Mar 25, 2024
@lastzero
Copy link
Member

We'll be happy to look into this (and fix the issue) once we've completed our work on two-factor authentication! Otherwise, please feel free to send a reminder.

@lastzero lastzero changed the title Index: Spacial photos are not correctly indexed HEIC: Support of special images for Apple Vision Pro Mar 25, 2024
@lastzero lastzero changed the title HEIC: Support of special images for Apple Vision Pro HEIC: Support spatial images as used for Apple Vision Pro Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Well suited for external contributors! idea Feedback wanted / feature request metadata Related to Exif, XMP, IPTC & Co.
Projects
Status: Upcoming
Development

No branches or pull requests

2 participants