mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
(cp 2583591a6) imagick7 expects input file before options
This commit is contained in:
@@ -640,8 +640,8 @@ function upload_file_heic($representative_ext, $file_path)
|
||||
list($w,$h) = get_optimal_dimensions_for_representative();
|
||||
|
||||
$exec = $conf['ext_imagick_dir'].pwg_image::get_ext_imagick_command();
|
||||
$exec.= ' -sampling-factor 4:2:0 -quality 85 -interlace JPEG -colorspace sRGB -auto-orient +repage -resize "'.$w.'x'.$h.'>"';
|
||||
$exec.= ' "'.realpath($file_path).'"';
|
||||
$exec.= ' -sampling-factor 4:2:0 -quality 85 -interlace JPEG -colorspace sRGB -auto-orient +repage -resize "'.$w.'x'.$h.'>"';
|
||||
$exec.= ' "'.$representative_file_path.'"';
|
||||
$exec.= ' 2>&1';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user