Am I doing something wrong or does TrueNAS/Nextcloud not support HEIC images?
I’m not super knowledgable on this topic so unsure how to fix (if possible to fix)
Thanks
If you want to be able to watch/preview the HEIC images, you can edit the available mime type for Nextcloud’s Viewer. (I do this to our company’s NC so customers can use viewer for PDFs and employees can get previews/thumbnails of TIFFs, AIs and PSDs. For HEIC, just go to your NC’s ‘apps/viewer/js/viewer-main.js’ and add ‘image/heic’ and ‘image/heic-sequence’ to the mimetype list (about halfway down, I hgihly recommend using VSCode+a formatter to make finding it easier)
Ngl a lot of that went over my head but, I’ll look into it, thank you
There is a Nextcloud app that can convert HEIC images in your library https://apps.nextcloud.com/apps/imageconverter
What device/ Operating System are you trying to watch the images on?
That picture is on Android but it doesn’t load correctly on any device
Convert them to another format?
Like
find "path" -name "*.ext" | xargs mogrify -format jpg
or so.I’d rather just have HEIC natively supported if possible
I don’t even know what a heic image is.
Edit: It’s a apple picture format from their cameras.
No.
It’s a container for image data developed by Moving Picture Experts Group (“MPEG”, try to guess what else they have created).
While there are some compatibility issues between vendors HEIC still offers a greater set of features as compared to fx JFIF (you probably know it as JPEG/JPG.
Apple was one of the early adopters (2017) and (as usual?) the industry has followed. Microsoft wants money for the codec in Windows and that’s probably one of the reasons why it’s not commonly used…yet.
My Samsung uses it for lower-storage size images lol
You can set the camera to store the pictures as JPEG. I am happy with JPEG for my holiday photos. Just check that you have the best quality setting since JPEG uses lossy compression.
While HEIF is not the doomsday thing some describes it as, it currently is somewhat problematic.
There are for example problems, originating in differences in implementation between different hardware vendors, with 10-bit and HDR.