mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
3ba147e702
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 |
||
---|---|---|
.. | ||
exif | ||
color.go | ||
color_test.go | ||
config.go | ||
config_test.go | ||
filters.go | ||
filters_test.go | ||
image.go | ||
overlay.go | ||
resampling.go | ||
smartcrop.go |