|
|
@ -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 } |
|
|
|