From 8613cf915954c9896482239f9a9e099bb7d4d941 Mon Sep 17 00:00:00 2001 From: "art.dambrine" Date: Mon, 5 Apr 2021 21:07:21 +0200 Subject: [PATCH] liip_imagine.yaml --- config/packages/liip_imagine.yaml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/config/packages/liip_imagine.yaml b/config/packages/liip_imagine.yaml index 8cb78ef..0999f89 100644 --- a/config/packages/liip_imagine.yaml +++ b/config/packages/liip_imagine.yaml @@ -11,6 +11,17 @@ liip_imagine: downscale: # input 3960x2560px -> output 1280x720px max: [1280, 720] + # use and setup the "resample" filter + resample: + # set the unit to use for pixel density + unit: ppi + # set the horizontal pixel density + x: 72 + # set the vertical pixel density + y: 72 + # set the resampling filter + filter: lanczos + post_processors: jpegoptim: { strip_all: true, max: 70, progressive: true } - optipng: { strip_all: true, level: 2 } + optipng: { strip_all: true, level: 1 }