mirror of
https://github.com/gohugoio/hugo.git
synced 2025-02-18 14:22:52 +00:00
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
6.7 KiB
400x200px
6.7 KiB
400x200px
![](/github/hugo/raw/commit/4713e509b678f5268225a07da0bf8f647c547e02/resources/testdata/golden/sunset_hu59e56ffff1bc1d8d122b1403d34e039f_90587_da536a2a5436e387d0d482675e08ad48.jpg)