Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GrayToolkit ¶
type GrayToolkit struct {
// contains filtered or unexported fields
}
GrayToolkit is the object.
func NewGrayToolkit ¶
func NewGrayToolkit(image image.Image) GrayToolkit
NewGrayToolkit returns a new gray scale manipulation toolkit object.
func (*GrayToolkit) AddEffect ¶
func (gt *GrayToolkit) AddEffect() image.Image
AddEffect adds a grayscale effect to the image and returns the new image that has the grayscale effect.
type ReadWriter ¶
ReadWriter is the interface that groups the image Reader and Writer interfaces.
func NewReadWriter ¶
func NewReadWriter() ReadWriter
NewReadWriter returns an image object that implements the Reader and Writer interface.
Click to show internal directories.
Click to hide internal directories.