giftest

package
v0.0.0-...-0bbbf19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(t testing.TB, r io.Reader) image.Image

Decode reads a GIF image from r and returns the first embedded image as an image.Image.

func DecodeAll

func DecodeAll(t testing.TB, r io.Reader) *gif.GIF

DecodeAll reads a GIF image from r and returns the sequential frames and timing information.

func DecodeConfig

func DecodeConfig(t testing.TB, r io.Reader) image.Config

DecodeConfig returns the global color model and dimensions of a GIF image without decoding the entire image.

func Encode

func Encode(t testing.TB, w io.Writer, m image.Image, o *gif.Options)

Encode writes the Image m to w in GIF format.

func EncodeAll

func EncodeAll(t testing.TB, w io.Writer, g *gif.GIF)

EncodeAll writes the images in g to w in GIF format with the given loop count and delay between frames.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL