Announcement

#1 2019-11-22 01:39:41

kortaco
Member
2019-11-21
1

HEIC files

Hello,

I backup all of my photos from iCloud to my local synology NAS.  The photos are taken with an Apple iPhone, and the default format is .HEIC.  I am able to NFS mount my directory with appropriate permissions, and use the piwigo administrative interface to 'synchronize' my photos (the "physical gallery" option).

What is happening is any files stored in .jpg format are processed and added to the physical gallery.  However, the HEIC files are simply ignored.  In one example, a gallery with 100 files (98 being HEIC, 2 of which are .JPG)

My piwigo server is Ubuntu 18.04.3

I've read some posts that later versions of imagemagick can support the HEIC format.  I followed instructions https://medium.com/@eplt/5-minutes-to-i … e2d09dcef1 to make sure my version of Imagemagick can read/process a HEIC file.  For example I can use the convert command to take the HEIC formated file and change it to JPEG, in which case it is processed by piwigo.

kortaco@piwigo:~$ convert -version
Version: ImageMagick 7.0.9-2 Q16 x86_64 2019-11-10 https://imagemagick.org
Copyright: © 1999-2019 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC HDRI OpenMP(4.5)
Delegates (built-in): bzlib djvu fftw fontconfig freetype heic jbig jng jpeg lcms lqr lzma openexr pangocairo png tiff wmf x xml zlib


I verified that my piwigo server is using the Imagemagick, and in my phpinfo(). I see the HEIC format as a delegate.

I've searched around for some advice about HEIC format and piwigo, but haven't found much.  I have seen some peoples' public galleries that do have images displayed and can be downloaded as HEIC, so there must be a setting I am missing.  I don't wish to have to convert the HEIC formatted images to JPG just to use Piwigo.

Any advice for where to look at logs to further diagnose, or a pointer to a setting in piwigo I might be missing is appreciated!

Piwigo version: 2.10.1
PHP version: 7.2.24-0ubuntu0.18.04.1
MySQL version: 5.7.28-0ubuntu0.18.04.4
Graphics Library: External ImageMagick 7.0.9-2

Offline

 

#2 2019-11-22 04:11:29

executive
Member
2017-08-16
1099

Re: HEIC files

There are currently no internet browsers that support displaying HEIF images. The format is very patent encumbered, so it's possible we won't see widespread use anytime soon.

https://caniuse.com/#search=heif

Offline

 

#3 2021-01-01 11:29:10

homdax
Member
Skåne, Sweden
2015-02-02
213

Re: HEIC files

HEIC is an Apple implemented contraption to store panoramic or "3d" images in their own containers, thus not an image as we would normally understand it to be. We had several issues at work handling this since there was no corporately available software on server level to allow for any kind of management of this format.

https://www.macworld.co.uk/feature/what … c-3660408/

Just encourage people to stop using it for now...
https://www.igeeksblog.com/how-to-stop- … s-in-heic/

As Executive also points out, it is not really HEIC, but HEIF, though it matters little in regards to handling.

https://en.wikipedia.org/wiki/High_Effi … ile_Format

More interestingly you can see how little support there is for browsing this format, despite being supported locally in several different ways and softwares.: https://en.wikipedia.org/wiki/High_Effi … at#Support

I see that ImageMagick supports it, so I guess it is only a matter of time before browsers will read these files, but who knows...

Last edited by homdax (2021-01-01 11:31:53)

Offline

 

#4 2021-01-01 11:59:31

executive
Member
2017-08-16
1099

Re: HEIC files

You are replying to a topic that was last active over a year ago.

Priyala is a spam bot, in case you didn't notice.

Offline

 

#5 2021-01-01 19:28:36

homdax
Member
Skåne, Sweden
2015-02-02
213

Re: HEIC files

ok, my bad, i did not realize it was old, still it may help someone looking for info.

I reported the spambot to plg hours ago.

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2022 · Contact