Hello,
My users uploaded 55 heic photos from their iphone but only 26 generated .jpg format.
Is there a way to trigger the imagick process to finish processing these heic files?
Piwigo v15.5.0
Offline
```
mogrify: Invalid input: Unspecified: Too many auxiliary image references (2.0) `20250330180127-7db9e447.heic' @ error/heic.c/IsHEIFSuccess/144.
mogrify: Invalid input: Unspecified: Too many auxiliary image references (2.0) `20250330180130-5c32d147.heic' @ error/heic.c/IsHEIFSuccess/144.
mogrify: Invalid input: Unspecified: Too many auxiliary image references (2.0) `20250330180133-88285188.heic' @ error/heic.c/IsHEIFSuccess/144.
root@0d7753e52879:/gallery/upload/2025/03/30# magick mogrify -format jpg *.heic
```
Maybe a newer version of magick? I don't see how some were converted but not others. It's on a newer iPhone and I'm pretty sure the app was closed during the upload, maybe that was it.
Offline
Tested a single image upload from iphone and still didn't convert.
```
[2025-03-31 18:01:17][exec=unkonwn] [DEBUG] [i.php]
src_path: '20250330180240-38181b45.jpg'
derivative_path: '20250330180240-38181b45-xx.jpg'
o_size: '1536 2048 3145728'
d_size: '931 1242 1156302'
mem_usage: 1.3
timing: array(
'load' => 140,
'rotate' => '',
'crop' => '',
'scale' => 0,
'sharpen' => '',
'watermark' => '',
'save' => 313,
'send' => 57,
'total' => 510,
)
[2025-03-31 18:02:25][exec=7dyHq0loq5] [DEBUG] [WS] ws_images_exist
md5sum_list: '17cfd4942f70d5543b85adbb7760a3d0'
filename_list: NULL
[2025-03-31 18:02:25][exec=AGMWCsyS9A] [DEBUG] ws_images_uploadAsync uploaded ./upload/buffer/17cfd4942f70d5543b85adbb7760a3d0-u3-001of005.chunk
[2025-03-31 18:02:25][exec=AGMWCsyS9A] [DEBUG] ws_images_uploadAsync all chunks are not uploaded yet, maybe on next chunk, exit for now
[2025-03-31 18:02:26][exec=KUs3jH0xeU] [DEBUG] ws_images_uploadAsync uploaded ./upload/buffer/17cfd4942f70d5543b85adbb7760a3d0-u3-003of005.chunk
[2025-03-31 18:02:26][exec=KUs3jH0xeU] [DEBUG] ws_images_uploadAsync all chunks are not uploaded yet, maybe on next chunk, exit for now
[2025-03-31 18:02:26][exec=6SuT2KMZsX] [DEBUG] ws_images_uploadAsync uploaded ./upload/buffer/17cfd4942f70d5543b85adbb7760a3d0-u3-002of005.chunk
[2025-03-31 18:02:26][exec=6SuT2KMZsX] [DEBUG] ws_images_uploadAsync all chunks are not uploaded yet, maybe on next chunk, exit for now
[2025-03-31 18:02:26][exec=kZV4UiFHFD] [DEBUG] ws_images_uploadAsync uploaded ./upload/buffer/17cfd4942f70d5543b85adbb7760a3d0-u3-004of005.chunk
[2025-03-31 18:02:26][exec=kZV4UiFHFD] [DEBUG] ws_images_uploadAsync all chunks are not uploaded yet, maybe on next chunk, exit for now
[2025-03-31 18:02:26][exec=R5rpO4pbmj] [DEBUG] ws_images_uploadAsync uploaded ./upload/buffer/17cfd4942f70d5543b85adbb7760a3d0-u3-005of005.chunk
[2025-03-31 18:02:26][exec=R5rpO4pbmj] [DEBUG] ws_images_uploadAsync 17cfd4942f70d5543b85adbb7760a3d0 5 chunks available, try now to get lock for merging
[2025-03-31 18:02:26][exec=R5rpO4pbmj] [DEBUG] ws_images_uploadAsync lock obtained to merge chunks
[2025-03-31 18:02:26][exec=R5rpO4pbmj] [DEBUG] ws_images_uploadAsync original_sum=17cfd4942f70d5543b85adbb7760a3d0, chunk 1/5 merged
[2025-03-31 18:02:26][exec=R5rpO4pbmj] [DEBUG] ws_images_uploadAsync original_sum=17cfd4942f70d5543b85adbb7760a3d0, chunk 2/5 merged
[2025-03-31 18:02:26][exec=R5rpO4pbmj] [DEBUG] ws_images_uploadAsync original_sum=17cfd4942f70d5543b85adbb7760a3d0, chunk 3/5 merged
[2025-03-31 18:02:26][exec=R5rpO4pbmj] [DEBUG] ws_images_uploadAsync original_sum=17cfd4942f70d5543b85adbb7760a3d0, chunk 4/5 merged
[2025-03-31 18:02:26][exec=R5rpO4pbmj] [DEBUG] ws_images_uploadAsync original_sum=17cfd4942f70d5543b85adbb7760a3d0, chunk 5/5 merged
[2025-03-31 18:02:26][exec=R5rpO4pbmj] [DEBUG] ws_images_uploadAsync merged file ./upload/buffer/17cfd4942f70d5543b85adbb7760a3d0-u3.merged saved
[2025-03-31 18:02:26][exec=R5rpO4pbmj] [DEBUG] ws_images_uploadAsync ./upload/buffer/17cfd4942f70d5543b85adbb7760a3d0-u3.merged MD5 checksum OK
[2025-03-31 18:02:26][exec=R5rpO4pbmj] [INFO] upload_file_pdf, $file_path = ././upload/2025/03/31/20250331180226-17cfd494.heic, $representative_ext =
[2025-03-31 18:02:26][exec=R5rpO4pbmj] [INFO] upload_file_heic, $file_path = ././upload/2025/03/31/20250331180226-17cfd494.heic, $representative_ext =
[2025-03-31 18:02:26][exec=R5rpO4pbmj] [INFO] upload_file_heic, exec = convert -sampling-factor 4:2:0 -quality 85 -interlace JPEG -colorspace sRGB -auto-orient +repage -resize "2484x1863>" "/gallery/upload/2025/03/31/20250331180226-17cfd494.heic" "././upload/2025/03/31/pwg_representative/20250331180226-17cfd494.jpg" 2>&1
[2025-03-31 18:02:26][exec=R5rpO4pbmj] [INFO] upload_file_tiff, $file_path = ././upload/2025/03/31/20250331180226-17cfd494.heic, $representative_ext =
[2025-03-31 18:02:26][exec=R5rpO4pbmj] [INFO] upload_file_video, $file_path = ././upload/2025/03/31/20250331180226-17cfd494.heic, $representative_ext =
[2025-03-31 18:02:26][exec=R5rpO4pbmj] [INFO] upload_file_psd, $file_path = ././upload/2025/03/31/20250331180226-17cfd494.heic, $representative_ext =
[2025-03-31 18:02:26][exec=R5rpO4pbmj] [INFO] upload_file_eps, $file_path = ././upload/2025/03/31/20250331180226-17cfd494.heic, $representative_ext =
[2025-03-31 18:02:26][exec=R5rpO4pbmj] [INFO] Handling ././upload/2025/03/31/20250331180226-17cfd494.heic got
```
Offline
```
[2025-03-31 18:02:26][exec=R5rpO4pbmj] [INFO] upload_file_heic, exec = convert -sampling-factor 4:2:0 -quality 85 -interlace JPEG -colorspace sRGB -auto-orient +repage -resize "2484x1863>" "/gallery/upload/2025/03/31/20250331180226-17cfd494.heic" "././upload/2025/03/31/pwg_representative/20250331180226-17cfd494.jpg" 2>&1
```
```
root@0d7753e52879:/gallery/upload/2025/03/31# ls -al
total 5108
drwxrwxrwx 3 abc abc 4096 Mar 31 18:02 .
drwxrwxrwx 4 abc abc 4096 Mar 31 18:00 ..
-rw-r--r-- 1 abc abc 2920033 Mar 31 18:00 20250331180003-75794147.heic
-rw-r--r-- 1 abc abc 2289927 Mar 31 18:02 20250331180226-17cfd494.heic
-rw-rw-rw- 1 abc abc 12 Mar 31 18:00 index.htm
drwxrwxrwx 2 abc abc 4096 Mar 31 18:00 pwg_representative
```
I wonder if the docker image from linuxserver.io needs a newer version of convert/imagick
Offline
```
root@0d7753e52879:/gallery/upload/2025/03/31# convert -sampling-factor 4:2:0 -quality 85 -interlace JPEG -colorspace sRGB -auto-orient +repage -resize "2484x1863>" "/gallery/upload/2025/03/31/20250331180226-17cfd494.heic" "././upload/2025/03/31/pwg_representative/20250331180226-17cfd494.jpg"
convert: Invalid input: Unspecified: Too many auxiliary image references (2.0) `/gallery/upload/2025/03/31/20250331180226-17cfd494.heic' @ error/heic.c/IsHEIFSuccess/144.
convert: no images defined `././upload/2025/03/31/pwg_representative/20250331180226-17cfd494.jpg' @ error/convert.c/ConvertImageCommand/3362.
```
Offline