Documentation ¶
Index ¶
- type BlurMethod
- type ImageProcessing
- func (p ImageProcessing) Blur(_ context.Context, img image.Image, radius float64, method string) image.Image
- func (p ImageProcessing) Crop(_ context.Context, img image.Image, x0, y0, x1, y1 int) image.Image
- func (p ImageProcessing) Desaturate(_ context.Context, img image.Image) image.Image
- func (p ImageProcessing) Hue(_ context.Context, img image.Image, hue int) image.Image
- func (p ImageProcessing) Resize(_ context.Context, img image.Image, width, height int, resampleMethod string) image.Image
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlurMethod ¶
type BlurMethod string
const ( Box BlurMethod = "Box" Gaussian BlurMethod = "Gaussian" )
type ImageProcessing ¶
type ImageProcessing struct { }
func (ImageProcessing) Desaturate ¶
Click to show internal directories.
Click to hide internal directories.