package images
import "github.com/gohugoio/hugo/tpl/images"
Package images provides template functions for manipulating images.
Index ¶
Types ¶
type Namespace ¶
Namespace provides template functions for the "images" namespace.
func New ¶
New returns a new instance of the images-namespaced template functions.
func (*Namespace) Config ¶
Config returns the image.Config for the specified path relative to the working directory.
func (*Namespace) Filter ¶
func (ns *Namespace) Filter(args ...any) (images.ImageResource, error)
Filter applies the given filters to the image given as the last element in args.
func (*Namespace) QR ¶
func (ns *Namespace) QR(args ...any) (images.ImageResource, error)
QR encodes the given text into a QR code using the specified options, returning an image resource.
Source Files ¶
- Version
- v0.144.2 (latest)
- Published
- Feb 19, 2025
- Platform
- linux/amd64
- Imports
- 21 packages
- Last checked
- 7 hours ago –
Tools for package owners.