hooram / ownphotos

Self hosted alternative to Google Photos
MIT License
2.76k stars 233 forks source link

heic support #69

Open sh4des opened 5 years ago

sh4des commented 5 years ago

Any chance we can get support for .heic format images? This is the format that apple saves photos as natively now

guysoft commented 5 years ago

Er, any example image? Never saw this format and it seems its not well supported (yet). Sources: https://stackoverflow.com/questions/45460611/convert-heif-heic-to-jpeg-on-a-server

There seem to be linux libs, but I can't see a decent example to turn it in to a thumbnail.

geekbleek commented 5 years ago

Unfortunately its the new format all iOS devices save photos as now. Would love to see support.

guysoft commented 5 years ago

I can see upvotes so it seems like its something that would make sense to add in the future. If anyone can point me to example files, directions how to open in linux that would help.

sh4des commented 5 years ago

I’m not sure of a way to open them on Linux. I can send an example file to you, what’s the easiest way for you to receive it?

notsle commented 4 years ago

imagemagick supports heic/heif now. as a option for converting to JPEG for display in HTML,
Nokia provides a open source javascript library for displaying HEIC images also https://github.com/nokiatech/heif/wiki/IV.-HEIF-Reader-JavaScript-Implementation