images.Pixelate

images.Pixelate


Returns an image filter that applies a pixelation effect to an image.

Usage #

Create the filter:

{{ $filter := images.Pixelate 4 }}

Example #