nextcloud / maps

๐ŸŒ๐ŸŒ๐ŸŒŽ The whole world fits inside your cloud!
https://apps.nextcloud.com/apps/maps
GNU Affero General Public License v3.0
481 stars 87 forks source link

HEIC pictures not loading #318

Open dridhas opened 4 years ago

dridhas commented 4 years ago

Just installed this and the JPEG pictures with Metadata load, but not the HEIC ones.

tacruc commented 4 years ago

What is HEIC?

dridhas commented 4 years ago

Heic is the extension for the pictures taken on an iOS device.

tacruc commented 4 years ago

Well we're resticted on the format support un php_exiv or the library pel. Tell your iOS to use a standard format like jpg.

mehturt commented 4 years ago

I found this ticket about adding HEIC support to php: https://bugs.php.net/bug.php?id=77757

dridhas commented 4 years ago

i was able to get the HEIC pictures to show on the gallery and show thumbnails after modifying a bit imagick following this link: https://medium.com/@eplt/5-minutes-to-install-imagemagick-with-heic-support-on-ubuntu-18-04-digitalocean-fe2d09dcef1.

on web browser, the metadata is not shown, but on the ios app it is.

genebean commented 2 years ago

bummed that this doesn't work with HEIC images. Here's hoping PHP fixes that or some other workaround is found

tomhub commented 2 years ago

There seems to be a way to read exif data from heic images, see: https://github.com/gino0631/nextcloud-metadata - this plugin shows heic image metadata.

dm-vodopyanov commented 1 year ago

+1 to @tomhub suggestion. @tacruc, could you please spend a little time to revise and re-estimate this FR? It could be easier now to implement this.

BWibo commented 1 year ago

+1 to this feature request. ๐Ÿš€

Today, HEIC format can be selected as default image format for the phone camera on many Android smartphones (Samsung in my case) too. I'm using it, as it saves ~40% space compared to JPG at same or even better quality. Using libmagickcore-6.q16-6-extra I was able to add full support with Nextcloud (e.g. preview generation) for HEIC images. All I'm missing now is Maps support. Thx in advance.

ignas-narbutas commented 1 year ago

I agree. Almost all and all my new photos are in HEIC. I can view them in NC with ImageMagick. So I can't use this nice app until there is HEIC support.

nemoforum commented 1 year ago

+1 to this feature request. It's 2023, HEIC uses less storage providing better quality.

nemoforum commented 1 year ago

Finally, I've found https://github.com/pulsejet/memories and it seems it covers almost everything I need. Moreover, it allows h265 playback in the browser: HLS + hardware accelerated transcoding on the fly.

kylew01 commented 1 year ago

I was excited to see an update to maps today, but unfortunately there is no HEIC support still.

Let's throw "AI" into the name, and it will be implemented tomorrowโ€ฆ /s

In seriousness, thank you for all of your hard work and effort.

tacruc commented 1 year ago

I found this ticket about adding HEIC support to php: https://bugs.php.net/bug.php?id=77757

This is basically the issue which needs to be solved to implemt it with little work. With more work I would suggest to move to Nextcloud core metadata feature and lat that handle the metadata extraction. This is on my to-do list but not yet scheduled yet.

hbprotoss commented 1 month ago

Finally, I've found https://github.com/pulsejet/memories and it seems it covers almost everything I need. Moreover, it allows h265 playback in the browser: HLS + hardware accelerated transcoding on the fly.

You saved my life