mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-26 19:29:58 +03:00
Fix missing EXIF metadata for images uploaded in HEIC format
The representative jpg file produced for image uploaded in HEIC format is used later to obtain EXIF metadata. Hence don't "strip" HEIC file metadata when corresponding representative is prepared.
This commit is contained in:
parent
d0836a5c73
commit
d58dba671e
1 changed files with 1 additions and 1 deletions
|
@ -602,7 +602,7 @@ function upload_file_heic($representative_ext, $file_path)
|
|||
list($w,$h) = get_optimal_dimensions_for_representative();
|
||||
|
||||
$exec = $conf['ext_imagick_dir'].'convert';
|
||||
$exec.= ' -sampling-factor 4:2:0 -quality 85 -interlace JPEG -colorspace sRGB -auto-orient +repage -strip -resize "'.$w.'x'.$h.'>"';
|
||||
$exec.= ' -sampling-factor 4:2:0 -quality 85 -interlace JPEG -colorspace sRGB -auto-orient +repage -resize "'.$w.'x'.$h.'>"';
|
||||
$exec.= ' "'.realpath($file_path).'"';
|
||||
$exec.= ' "'.$representative_file_path.'"';
|
||||
$exec.= ' 2>&1';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue