-
Notifications
You must be signed in to change notification settings - Fork 35
/
ext_conf_template.txt
18 lines (18 loc) · 1.54 KB
/
ext_conf_template.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# cat=basic; type=options[Local ImageMagick/GraphicsMagick converter=Plan2net\Webp\Converter\MagickConverter,PHP GD=Plan2net\Webp\Converter\PhpGdConverter,External converter=Plan2net\Webp\Converter\ExternalConverter]; label=Conversion adapter (see documentation)
converter = Plan2net\Webp\Converter\MagickConverter
# cat=basic; type=string; label=For each mime type conversion parameters (for internal adapter) or command + parameters (in sprintf format for external adapter) (see documentation)
parameters = image/jpeg::-quality 85 -define webp:lossless=false|image/png::-quality 75 -define webp:lossless=true|image/gif::-quality 85 -define webp:lossless=true
# cat=basic; type=boolean; label=Convert all images in local and writable storages (see documentation)
convert_all = 1
# cat=basic; type=boolean; label=Suppress output (stdout, stderr) from the external converter command (Linux only)
silent = 0
# cat=basic; type=string; label=Supported mime types (comma separated)
mime_types = image/jpeg,image/png,image/gif
# cat=basic; type=string; label=Exclude processing of images from specific directories (separated by semicolon)
exclude_directories =
# cat=basic; type=boolean; label=Use the system GFX "processor_stripColorProfileCommand"/"processor_stripColorProfileParameters" setting for the MagickConverter converter
use_system_settings = 1
# cat=basic; type=boolean; label=Hide .webp files matching the below pattern in backend file list module
hide_webp = 1
# cat=basic; type=string; label=Pattern to filter out files
filter_pattern = /\.(jpe?g|png|gif)\.webp$/i