Documentation ¶
Index ¶
- type Picture
- func (p *Picture) ConvertToImageRGBA8() (img *image.RGBA)
- func (p *Picture) GetHeight() (x int)
- func (p *Picture) GetPixel(x, y int) (pixel Pixel, err error)
- func (p *Picture) GetPixelUnsafe(x, y int) (pixel Pixel)
- func (p *Picture) GetWidth() (x int)
- func (p *Picture) SetPixel(x, y int, pixel Pixel) (err error)
- type Pixel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Picture ¶
type Picture struct { R [][]float32 G [][]float32 B [][]float32 A [][]float32 // contains filtered or unexported fields }
func NewPicture ¶
func NewPictureFromImage ¶
func (*Picture) ConvertToImageRGBA8 ¶
func (*Picture) GetPixelUnsafe ¶
Click to show internal directories.
Click to hide internal directories.