Documentation ¶
Index ¶
- Constants
- func Binary(file io.Reader, threshold uint) (io.Reader, string, error)
- func BoxBlur(file io.Reader, amount 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 EmbossFilter(file io.Reader) (io.Reader, string, error)
- func FlipHorizontal(file io.Reader) (io.Reader, string, error)
- func FlipVertical(file io.Reader) (io.Reader, string, error)
- func GammaCorrection(file io.Reader, amount 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 KuwaharaFilter(file io.Reader, aperture uint) (io.Reader, string, error)
- func LaplasianFilter(file io.Reader) (io.Reader, string, error)
- func Rotate180(file io.Reader) (io.Reader, string, error)
- func Rotate270(file io.Reader) (io.Reader, string, error)
- func Rotate90(file io.Reader) (io.Reader, string, error)
- func Sepia(file io.Reader) (io.Reader, string, error)
- func SharpenFilter(file io.Reader, amount uint) (io.Reader, string, error)
- func SobelFilter(file io.Reader) (io.Reader, string, error)
- func Solarize(file io.Reader, threshold uint) (io.Reader, string, error)
Constants ¶
View Source
const GRAYSCALE_AVERAGE string = constants.GRAYSCALE_AVERAGE
View Source
const GRAYSCALE_LUMINOCITY string = constants.GRAYSCALE_LUMINOCITY
Variables ¶
This section is empty.
Functions ¶
func Brightness ¶ added in v1.0.0
amount: from -255 to 255
func FlipHorizontal ¶ added in v1.0.0
func GammaCorrection ¶ added in v1.0.0
amount: from 0 to 3.99
func KuwaharaFilter ¶ added in v1.0.2
aperture: 0 to 40
func LaplasianFilter ¶ added in v1.0.0
func SharpenFilter ¶ added in v1.0.2
amount: 0 to 100
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.