Announcement

#1 2024-09-05 15:26:59

evinrude
Member
2023-12-31
8

heic files vs synchronization

Hello/Hi/Greetings,

If I add a link in ./galleries that points to a folder with heic images in it and then perform synchronization the album gets created but the heic files are not recognized (they show up as question marks)

If I then delete all the heic files and then perform a 'add photos' operation on the album the heic files are now recognized and displayed  properly .

Am I doing something wrong ?

Operating system: Linux
PHP: 8.2.20 (Show info) [2024-09-05 13:20:55]
MySQL: 10.11.6-MariaDB-0+deb12u1 [2024-09-05 09:20:55]
Graphics Library: External ImageMagick 6.9.11-60

Offline

 

#2 2024-09-11 17:34:00

evinrude
Member
2023-12-31
8

Re: heic files vs synchronization

any thoughts on this ?
any body

Offline

 

#3 2024-09-12 02:05:54

windracer
Member
St. Pete, FL
2014-12-28
489

Re: heic files vs synchronization

Sync with HEIC files doesn't work for me either. This has been reported before:
https://piwigo.org/forum/viewtopic.php? … 42#p188942

It seems that processing is different for uploading vs. sync. During an upload, you can see the ImageMagick "convert" command being executed in the log:

Code:

[2024-09-11 20:00:44]   [INFO]  upload_file_heic, exec = convert -sampling-factor 4:2:0 -quality 85 -interlace JPEG -colorspace sRGB -auto-orient +repage -resize "2484x1863>" "/mnt/piwigo/_piwigo-sites/piwigo-beta/upload/2024/09/11/20240911200044-a4f8fa6e.heic" "././upload/2024/09/11/pwg_representative/20240911200044-a4f8fa6e.jpg" 2>&1

But this doesn't seem to happen during a sync, so the JPG thumbnails for the HEIC image are not created in the album and you end up with the "unknown" question mark thumbnail instead.

Also keep in mind if you use "Add Photos" you're not actually adding that photo to the album/folder you linked under galleries, it's going to end up in the virtual album folder structure under uploads.

Offline

 

#4 2024-09-12 02:12:38

windracer
Member
St. Pete, FL
2014-12-28
489

Re: heic files vs synchronization

Found this reported in Github as well.
[Github] Piwigo issue #2078

Offline

 

Board footer

Powered by FluxBB

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