image

package module
v0.0.0-...-087c424 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 19, 2022 License: MIT Imports: 2 Imported by: 2

Documentation

Index

Constants

View Source
const ALPHA_CHANNEL = 3
View Source
const BLUE_CHANNEL = 2
View Source
const GREEN_CHANNEL = 1
View Source
const RED_CHANNEL = 0

Variables

This section is empty.

Functions

This section is empty.

Types

type GoImage

type GoImage struct {
	// contains filtered or unexported fields
}

func NewGoImage

func NewGoImage() *GoImage

func (*GoImage) CreatetPixel

func (gi *GoImage) CreatetPixel() *pixel.GoPixel

func (*GoImage) GetChannels

func (gi *GoImage) GetChannels() byte

func (*GoImage) GetDimension

func (gi *GoImage) GetDimension() (int, int)

func (*GoImage) GetInfos

func (gi *GoImage) GetInfos() *info.GipInfo

func (*GoImage) GetPixel

func (gi *GoImage) GetPixel(x int, y int) *pixel.GoPixel

func (*GoImage) GetPixels

func (gi *GoImage) GetPixels() []*pixel.GoPixel

func (*GoImage) GetSize

func (gi *GoImage) GetSize() int

func (*GoImage) SetChannels

func (gi *GoImage) SetChannels(channels byte)

func (*GoImage) SetDimension

func (gi *GoImage) SetDimension(w int, h int)

func (*GoImage) SetPixel

func (gi *GoImage) SetPixel(x int, y int, gp *pixel.GoPixel)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL