goimage

package module
v0.0.0-...-06e3fd7 Latest Latest
Warning

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

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

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) Compute

func (gi *GoImage) Compute()

func (*GoImage) CreatetPixel

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

func (*GoImage) GetChannels

func (gi *GoImage) GetChannels() byte

func (*GoImage) GetDimension

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

func (*GoImage) GetHistogram

func (gi *GoImage) GetHistogram() *gohistogram.GoHistogram

func (*GoImage) GetPixel

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

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 *gopixel.GoPixel)

Jump to

Keyboard shortcuts

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