Documentation ¶
Index ¶
- Constants
- 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)
Constants ¶
View Source
const FLIP_DIRECTION_HORIZONTAL string = constants.FLIP_DIRECTION_HORIZONTAL
View Source
const FLIP_DIRECTION_VERTICAL string = constants.FLIP_DIRECTION_VERTICAL
View Source
const GRAYSCALE_TYPE_AVERAGE string = constants.GRAYSCALE_TYPE_AVERAGE
View Source
const GRAYSCALE_TYPE_LUMINANCE string = constants.GRAYSCALE_TYPE_LUMINANCE
View Source
const ROTATE_FIXED_180 uint = constants.ROTATE_FIXED_180
View Source
const ROTATE_FIXED_270 uint = constants.ROTATE_FIXED_270
View Source
const ROTATE_FIXED_90 uint = constants.ROTATE_FIXED_90
Variables ¶
This section is empty.
Functions ¶
func Brightness ¶
amount: -255 to 255
func GammaCorrection ¶
amount: 0 to 3.99
func GaussianBlur ¶ added in v2.0.4
sigma: 0 to 99
func RotateFixed ¶
angle: 90, 180 or 270 (use provided constants)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.