[Bug]: HIF photos don't get preview generated #46408
Labels
0. Needs triage
Pending check for reproducibility or if it fits our roadmap
29-feedback
bug
feature: previews and thumbnails
Bug description
My camera produces photos in
.HIF
extension, and according to this, I think it's for the potential extended color profile.However, uploading such photos to my test Nextcloud selfhosted instance result in the preview not being generated.
.heic
will make it work./image/x-heic
..heic
photo from my phone, that would upload and genrate preview just fine in Nextcloud, but if I change the extension to.hif
, it fails. This makes me think this is the extension check issue, and probably not mime type check.I tried to trace this myself browsing the code, but I'm not familiar with the structure of this project so I coudn't really find it after a couple hours.
Steps to reproduce
.heic
extension).hif/HIF
Expected behavior
Nextcloud should be able to handle
.hif/HIF
files as it's basically still HEIC images, and it is able to handle it if the file's extension is manually changed to.heic
.Installation method
Community Docker image
Nextcloud Server version
29
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.1
Web server
Nginx
Database engine version
SQlite
Is this bug present after an update or on a fresh install?
Fresh Nextcloud Server install
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
No response
Nextcloud Logs
I don't see log entries at the time this happens.
Additional info
No response
The text was updated successfully, but these errors were encountered: