Image functions
Use these functions to create an image filter, apply an image filter to an image, and to retrieve image information.
Use these functions to create an image filter, apply an image filter to an image, and to retrieve image information.
images.AutoOrient ⟼ images.filterReturns an image filter that rotates and flips an image as needed per its EXIF orientation tag. Read More »
images.Brightness PERCENTAGE ⟼ images.filterReturns an image filter that changes the brightness of an image. Read More »
images.ColorBalance PCTRED PCTGREEN PCTBLUE ⟼ images.filterReturns an image filter that changes the color balance of an image. Read More »
images.Colorize HUE SATURATION PERCENTAGE ⟼ images.filterReturns an image filter that produces a colorized version of an image. Read More »
images.Config PATH ⟼ image.ConfigReturns an image.Config structure from the image at the specified path, relative to the working directory. Read More »
images.Contrast PERCENTAGE ⟼ images.filterReturns an image filter that changes the contrast of an image. Read More »
images.Dither [OPTIONS] ⟼ images.filterReturns an image filter that dithers an image. Read More »
images.Filter FILTERS... IMAGE ⟼ images.ImageResourceApplies one or more image filters to the given image resource. Read More »
images.Gamma GAMMA ⟼ images.filterReturns an image filter that performs gamma correction on an image. Read More »
images.GaussianBlur SIGMA ⟼ images.filterReturns an image filter that applies a gaussian blur to an image. Read More »
images.Grayscale ⟼ images.filterReturns an image filter that produces a grayscale version of an image. Read More »
images.Hue SHIFT ⟼ images.filterReturns an image filter that rotates the hue of an image. Read More »
images.Invert ⟼ images.filterReturns an image filter that negates the colors of an image. Read More »
images.Opacity OPACITY ⟼ images.filterReturns an image filter that changes the opacity of an image. Read More »
images.Overlay RESOURCE X Y ⟼ images.filterReturns an image filter that overlays the source image at the given coordinates, relative to the upper left corner. Read More »
images.Padding V1 [V2] [V3] [V4] [COLOR] ⟼ images.filterReturns an image filter that resizes the image canvas without resizing the image. Read More »
images.Pixelate SIZE ⟼ images.filterReturns an image filter that applies a pixelation effect to an image. Read More »
images.Process SPEC ⟼ images.filterReturns an image filter that processes the given image using the given specification. Read More »
images.Saturation PERCENTAGE ⟼ images.filterReturns an image filter that changes the saturation of an image. Read More »
images.Sepia PERCENTAGE ⟼ images.filterReturns an image filter that produces a sepia-toned version of an image. Read More »
images.Sigmoid MIDPOINT FACTOR ⟼ images.filterReturns an image filter that changes the contrast of an image using a sigmoidal function. Read More »
images.Text TEXT [OPTIONS] ⟼ images.filterReturns an image filter that adds text to an image. Read More »
images.UnsharpMask SIGMA AMOUNT THRESHOLD ⟼ images.filterReturns an image filter that sharpens an image. Read More »