Versions in this module Expand all Collapse all v0 v0.1.2 Apr 19, 2021 Changes in this version + type ImagePool struct + func NewImagePool() *ImagePool + func (p *ImagePool) Get(width, height int) *image.Gray + func (p *ImagePool) GetFromImage(img image.Image) *image.Gray + func (p *ImagePool) Put(img *image.Gray) type Scaler + func NewCacheScaler(k *Kernel) Scaler v0.1.1 Apr 14, 2021 Changes in this version + var CatmullRom = &Kernel + func FitRect(rect image.Rectangle, x, y int) image.Rectangle + type Kernel struct + At func(t float64) float64 + Support float64 + func (q *Kernel) NewScaler(dw, dh, sw, sh int) Scaler + func (q *Kernel) Scale(dst, src *image.Gray) + type Scaler interface + Scale func(dst, src *image.Gray) v0.1.0 Apr 5, 2021 Changes in this version + func AdjustGamma(img *image.Gray, gamma float64) *image.Gray + func AutoContrast(img *image.Gray, cutoff float64) *image.Gray + func Fit(img *image.Gray, x, y int) *image.Gray + func Grayscale(img image.Image) *image.Gray + func Histogram(img *image.Gray) [256]uint