README ¶
goapng
goapng is implementation of APNG(Animated PNG) Encoder in Golang.
- Illustrative purposes(See on Firfox or Safari)
Usage
See: example.go.
Installation
$ go get bitbucket.org/cia_ana/goapng
License
MIT
Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type APNG ¶
type APNG struct { Image []*image.Image // The successive images. Delay []uint16 // The successive delay times, one per frame, in 100ths of a second. Disposal []byte // The successive disposal methods, one per frame. LoopCount uint32 // The loop count. 0 indicates infinite looping. Config image.Config }
type CompressionLevel ¶
type CompressionLevel int
const ( DefaultCompression CompressionLevel = 0 NoCompression CompressionLevel = -1 BestSpeed CompressionLevel = -2 BestCompression CompressionLevel = -3 )
type Encoder ¶
type Encoder struct {
CompressionLevel CompressionLevel
}
Click to show internal directories.
Click to hide internal directories.