HUGO
News Docs Themes Community GitHub

images.AutoOrient

images.AutoOrient

Returns an image filter that rotates and flips an image as needed per its EXIF orientation tag.

images.Brightness

images.Brightness PERCENTAGE

Returns an image filter that changes the brightness of an image.

images.ColorBalance

images.ColorBalance PCTRED PCTGREEN PCTBLUE

Returns an image filter that changes the color balance of an image.

images.Colorize

images.Colorize HUE SATURATION PERCENTAGE

Returns an image filter that produces a colorized version of an image.

images.Config

images.Config PATH

Returns an image.Config structure from the image at the specified path, relative to the working directory.

images.Contrast

images.Contrast PERCENTAGE

Returns an image filter that changes the contrast of an image.

images.Dither

images.Dither [OPTIONS]

Returns an image filter that dithers an image.

images.Filter

images.Filter FILTERS... IMAGE

Applies one or more image filters to the given image resource.

images.Gamma

images.Gamma GAMMA

Returns an image filter that performs gamma correction on an image.

images.GaussianBlur

images.GaussianBlur SIGMA

Returns an image filter that applies a gaussian blur to an image.

images.Grayscale

images.Grayscale

Returns an image filter that produces a grayscale version of an image.

images.Hue

images.Hue SHIFT

Returns an image filter that rotates the hue of an image.

images.Invert

images.Invert

Returns an image filter that negates the colors of an image.

images.Mask

images.Mask RESOURCE

Returns an image filter that applies a mask to the source image.

images.Opacity

images.Opacity OPACITY

Returns an image filter that changes the opacity of an image.

images.Overlay

images.Overlay RESOURCE X Y

Returns an image filter that overlays the source image at the given coordinates, relative to the upper left corner.

images.Padding

images.Padding V1 [V2] [V3] [V4] [COLOR]

Returns an image filter that resizes the image canvas without resizing the image.

images.Pixelate

images.Pixelate SIZE

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

images.Process

images.Process SPEC

Returns an image filter that processes the given image using the given specification.

images.QR

images.QR TEXT [OPTIONS]

Encodes the given text into a QR code using the specified options, returning an image resource.

images.Saturation

images.Saturation PERCENTAGE

Returns an image filter that changes the saturation of an image.

images.Sepia

images.Sepia PERCENTAGE

Returns an image filter that produces a sepia-toned version of an image.

images.Sigmoid

images.Sigmoid MIDPOINT FACTOR

Returns an image filter that changes the contrast of an image using a sigmoidal function.

images.Text

images.Text TEXT [OPTIONS]

Returns an image filter that adds text to an image.

images.UnsharpMask

images.UnsharpMask SIGMA AMOUNT THRESHOLD

Returns an image filter that sharpens an image.