PickColor
Last updated
Last updated
Returns the color at the specified coordinates of the image.
x
int
coordinate x axis
y
int
coordinate y axis
Color of color.RGBA
.
package main
import (
"fmt"
"github.com/fishtailstudio/imgo"
)
func main() {
r, g, b, a := imgo.Load("gopher.png").
PickColor(