Création d'une API Pokédex avec Symfony
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

21 lines
816 B

# See dos how to configure the bundle: https://symfony.com/doc/current/bundles/LiipImagineBundle/basic-usage.html
liip_imagine:
# valid drivers options include "gd" or "gmagick" or "imagick"
driver: "gd"
filter_sets:
# name our first filter set "my_max_down_scale_filter"
my_max_down_scale_filter_720p:
filters:
# use and setup the "downscale" filter
downscale:
# input 3960x2560px -> output 1280x720px
max: [1280, 720]
post_processors:
jpegoptim: { strip_all: true, max: 70, progressive: true }
optipng: { strip_all: true, level: 5 }
my_max_down_scale_filter_240p:
filters:
downscale:
max: [360, 240]