gif

package
v1.29.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

The GIF package provides encoding/decoding and other functions. It is currently a beta version and availability is not guaranteed.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Encode

func Encode(i *Info, path string) error

Create a GIF file.

Types

type Info

type Info struct {
	// The successive delay times, one per frame, in 100ths of a second.
	Delay []int

	// FileList returns a list of all available files.
	FileList []string

	// FS returns an operational virtual file system.
	FS *memfs.MemFS
}

func Decode

func Decode(v string) (*Info, error)

Extract a GIF file.

Jump to

Keyboard shortcuts

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