Versions in this module Expand all Collapse all v0 v0.5.0 Aug 27, 2016 v0.4.0 Aug 25, 2016 Changes in this version + const Alpha + const Blue + const Green + const JPEG + const PNG + const Red + func Add(bg image.Image, fg image.Image) *image.RGBA + func BoxBlur(src image.Image, radius float64) *image.RGBA + func Brightness(src image.Image, change float64) *image.RGBA + func CloneAsRGBA(src image.Image) *image.RGBA + func ColorBurn(bg image.Image, fg image.Image) *image.RGBA + func ColorDodge(bg image.Image, fg image.Image) *image.RGBA + func Contrast(src image.Image, change float64) *image.RGBA + func Convolve(img image.Image, k ConvolutionMatrix, o *ConvolutionOptions) *image.RGBA + func Crop(img image.Image, rect image.Rectangle) *image.RGBA + func Darken(bg image.Image, fg image.Image) *image.RGBA + func Difference(bg image.Image, fg image.Image) *image.RGBA + func Divide(bg image.Image, fg image.Image) *image.RGBA + func EdgeDetection(src image.Image, radius float64) *image.RGBA + func Emboss(src image.Image) *image.RGBA + func Encode(w io.Writer, img image.Image, format Format) error + func Exclusion(bg image.Image, fg image.Image) *image.RGBA + func ExtractChannel(img image.Image, c Channel) *image.Gray + func FlipH(img image.Image) *image.RGBA + func FlipV(img image.Image) *image.RGBA + func Gamma(src image.Image, gamma float64) *image.RGBA + func GaussianBlur(src image.Image, radius float64) *image.RGBA + func Grayscale(img image.Image) *image.Gray + func Invert(src image.Image) *image.RGBA + func Lighten(bg image.Image, fg image.Image) *image.RGBA + func LinearBurn(bg image.Image, fg image.Image) *image.RGBA + func LinearLight(bg image.Image, fg image.Image) *image.RGBA + func Median(img image.Image, size int) *image.RGBA + func Multiply(bg image.Image, fg image.Image) *image.RGBA + func NormalBlend(bg image.Image, fg image.Image) *image.RGBA + func Opacity(bg image.Image, fg image.Image, percent float64) *image.RGBA + func Open(filename string) (image.Image, error) + func Overlay(bg image.Image, fg image.Image) *image.RGBA + func Resize(img image.Image, width, height int, filter ResampleFilter) *image.RGBA + func Rotate(img image.Image, angle float64, options *RotationOptions) *image.RGBA + func Save(filename string, img image.Image, format Format) error + func Screen(bg image.Image, fg image.Image) *image.RGBA + func Sharpen(src image.Image) *image.RGBA + func Sobel(src image.Image) *image.RGBA + func SoftLight(bg image.Image, fg image.Image) *image.RGBA + func Subtract(bg image.Image, fg image.Image) *image.RGBA + func Threshold(img image.Image, level uint8) *image.Gray + type Channel int + type ConvolutionMatrix interface + At func(x, y int) float64 + MaxX func() int + MaxY func() int + Normalized func() ConvolutionMatrix + type ConvolutionOptions struct + Bias float64 + CarryAlpha bool + Wrap bool + type Format int + type Histogram struct + Bins []int + func (h *Histogram) Cumulative() *Histogram + func (h *Histogram) Image() *image.Gray + func (h *Histogram) Max() int + func (h *Histogram) Min() int + type Kernel struct + Height int + Matrix []float64 + Width int + func NewKernel(width, height int) *Kernel + func (k *Kernel) At(x, y int) float64 + func (k *Kernel) MaxX() int + func (k *Kernel) MaxY() int + func (k *Kernel) Normalized() ConvolutionMatrix + func (k *Kernel) String() string + type RGBAF64 struct + A float64 + B float64 + G float64 + R float64 + func NewRGBAF64(r, g, b, a uint8) RGBAF64 + func (c *RGBAF64) Clamp() + type RGBAHistogram struct + A Histogram + B Histogram + G Histogram + R Histogram + func NewRGBAHistogram(img image.Image) *RGBAHistogram + func (h *RGBAHistogram) Cumulative() *RGBAHistogram + func (h *RGBAHistogram) Image() *image.RGBA + type ResampleFilter struct + Fn func(x float64) float64 + Support float64 + var Box ResampleFilter + var CatmullRom ResampleFilter + var Gaussian ResampleFilter + var Lanczos ResampleFilter + var Linear ResampleFilter + var MitchellNetravali ResampleFilter + var NearestNeighbor ResampleFilter + type RotationOptions struct + Pivot *image.Point + ResizeBounds bool