kruczkowski/liip-imagine-additional-filters-bundle

liip imagine bundle 的像素化及模糊过滤器

v1.1 2020-05-21 12:52 UTC

This package is not auto-updated.

Last update: 2024-09-21 07:56:59 UTC


README

Liip Imagine Bundle 的附加过滤器

像素化过滤器 模糊过滤器

基本用法

liip_imagine:
    filter_sets:
        pixelate:
            data_loader: stream.your_data_loader
            quality: 90
            filters:
                pixelate_filter:
                   size: [100, 200] //width and height
                   start: [500, 230] //starting points x and y
                   intensity: 16 // you can omit this, default is 16
                   type: ellipse // default is rectangle
         blur:
            data_loader: stream.your_data_loader
            quality: 90
            filters:
               blur_filter:
                  size: [100, 200] //width and height
                  start: [500, 230] //starting points x and y
                  

之前

before

之后 after