hugo/resources/images
Bjørn Erik Pedersen 3ba147e702 images: Add images.Overlay filter
This allows for constructs ala:

```
{{ $overlay := $img.Filter (images.Overlay $logo 50 50 )}}
```
Or:

```
{{ $logoFilter := (images.Overlay $logo 50 50 ) }}
{{ $overlay := $img | images.Filter $logoFilter }}
```

Which will overlay the logo in the top left corner (x=50, y=50) of `$img`.

Fixes #8057
Fixes #4595
Updates #6731
2020-12-17 09:14:18 +01:00
..
exif all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
color.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
color_test.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
config.go resources/images: Allow to set background fill colour 2019-10-20 22:06:58 +02:00
config_test.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
filters.go images: Add images.Overlay filter 2020-12-17 09:14:18 +01:00
filters_test.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
image.go images: Add images.Overlay filter 2020-12-17 09:14:18 +01:00
overlay.go images: Add images.Overlay filter 2020-12-17 09:14:18 +01:00
resampling.go Add a set of image filters 2019-08-28 15:59:54 +02:00
smartcrop.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00