Documentation ¶
Index ¶
- Constants
- Variables
- func Binary(file io.Reader, threshold uint8) (io.Reader, string, error)
- func BoxBlur(file io.Reader, radius uint) (io.Reader, string, error)
- func Brightness(file io.Reader, amount int) (io.Reader, string, error)
- func ColorInversion(file io.Reader) (io.Reader, string, error)
- func Contrast(file io.Reader, amount int) (io.Reader, string, error)
- func EightColors(file io.Reader) (io.Reader, string, error)
- func Emboss(file io.Reader) (io.Reader, string, error)
- func Flip(file io.Reader, direction string) (io.Reader, string, error)
- func GammaCorrection(file io.Reader, amount float64) (io.Reader, string, error)
- func GaussianBlur(file io.Reader, sigma float64) (io.Reader, string, error)
- func Grayscale(file io.Reader, grayscaleType string) (io.Reader, string, error)
- func HueRotate(file io.Reader, angle int) (io.Reader, string, error)
- func Kuwahara(file io.Reader, radius uint) (io.Reader, string, error)
- func Laplacian(file io.Reader) (io.Reader, string, error)
- func RotateFixed(file io.Reader, angle uint) (io.Reader, string, error)
- func Sepia(file io.Reader) (io.Reader, string, error)
- func Sharpen(file io.Reader, amount uint) (io.Reader, string, error)
- func Sobel(file io.Reader) (io.Reader, string, error)
- func Solarize(file io.Reader, threshold uint8) (io.Reader, string, error)
- type Color
Constants ¶
View Source
const DEG float64 = math.Pi / 180
View Source
const K float64 = 6
Variables ¶
View Source
var COLORS = [8]Color{
{255, 0, 0},
{0, 255, 0},
{0, 0, 255},
{255, 255, 0},
{255, 0, 255},
{0, 255, 255},
{255, 255, 255},
{0, 0, 0},
}
Functions ¶
func GammaCorrection ¶
func GaussianBlur ¶ added in v2.0.4
Types ¶
Click to show internal directories.
Click to hide internal directories.