Documentation
¶
Index ¶
- func AsRGBA(img image.Image) *image.RGBA
- func RemoveAllEdges(rgba *image.RGBA, aggressive bool) *image.RGBA
- func RemoveEdge(rgba *image.RGBA, side ImageSide, aggressive bool) *image.RGBA
- func RemoveEdges(rgba *image.RGBA, sides []ImageSide, aggressive bool) *image.RGBA
- func RemoveHorizontalEdges(rgba *image.RGBA, aggressive bool) *image.RGBA
- func RemoveVerticalEdges(rgba *image.RGBA, aggressive bool) *image.RGBA
- func WalkBottomToTop(rgba *image.RGBA, cmp CompareFunc, width, height, acceptable int) (edge int)
- func WalkLeftToRight(rgba *image.RGBA, cmp CompareFunc, width, height, acceptable int) (edge int)
- func WalkRightToLeft(rgba *image.RGBA, cmp CompareFunc, width, height, acceptable int) (edge int)
- func WalkTopToBottom(rgba *image.RGBA, cmp CompareFunc, width, height, acceptable int) (edge int)
- type CompareFunc
- type ImageSide
- type Stencil
- type WalkerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RemoveEdges ¶
func RemoveHorizontalEdges ¶
func WalkBottomToTop ¶
func WalkBottomToTop(rgba *image.RGBA, cmp CompareFunc, width, height, acceptable int) (edge int)
func WalkLeftToRight ¶
func WalkLeftToRight(rgba *image.RGBA, cmp CompareFunc, width, height, acceptable int) (edge int)
func WalkRightToLeft ¶
func WalkRightToLeft(rgba *image.RGBA, cmp CompareFunc, width, height, acceptable int) (edge int)
func WalkTopToBottom ¶
func WalkTopToBottom(rgba *image.RGBA, cmp CompareFunc, width, height, acceptable int) (edge int)
Types ¶
type CompareFunc ¶
type Stencil ¶
func NewStencil ¶
func NewStencil() *Stencil
type WalkerFunc ¶
Click to show internal directories.
Click to hide internal directories.

