Documentation ¶
Overview ¶
Package decoder provides functionality of decoding compressed images such as PNG and GIF.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Decoder ¶
type Decoder struct {
// contains filtered or unexported fields
}
Decoder decodes compressed images, such as PNGs and GIFs
func New ¶
func New(imageFactory ImageFactory) *Decoder
New creates a Decoder instance which can be used many times for image decoding.
type ImageFactory ¶
ImageFactory creates a new image with given dimensions.
*glfw.OpenGL instance can be used as an ImageFactory implementation.
Click to show internal directories.
Click to hide internal directories.