Documentation ¶
Overview ¶
Package graph is a suite of utilities for performing various operation's on an Image
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Filter ¶
Filter is a basic mapping function that is supplied with a Pixel and returns the new colour for that Pixel.
func (Filter) Do ¶
Do apply the filter against the source image, writing the result to the destination over the area defined by the supplied rectangle.
func (Filter) DoNew ¶
DoNew applies the filter against an image, returning a new mutable image with the result.
type Image ¶
Image is an image.Image with a Set method to change a single pixel.
func DuplicateImage ¶
DuplicateImage creates a new copy of an image which is also mutable
func NewRGBAImage ¶
Click to show internal directories.
Click to hide internal directories.