Add options to convert AVIF and HEIC images using ImageMagick 7.x

This commit is contained in:
Kijin Sung 2023-05-24 14:28:26 +09:00
parent 51a4604750
commit f7c01cccfb
6 changed files with 56 additions and 14 deletions

View file

@ -310,6 +310,7 @@ class FileModel extends File
$config->video_mp4_gif_time = $config->video_mp4_gif_time ?? 0;
$config->ffmpeg_command = $config->ffmpeg_command ?? '/usr/bin/ffmpeg';
$config->ffprobe_command = $config->ffprobe_command ?? '/usr/bin/ffprobe';
$config->magick_command = $config->magick_command ?? '';
// Set allowed_extensions
if(!isset($config->allowed_extensions))