info

package
v0.0.0-...-f7ce0a2 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package info provides "info" sub command: to show GIF image information.

Index

Constants

This section is empty.

Variables

View Source
var Info = subcmd.DefineCommand("info", "show GIF info", func(ctx context.Context, args []string) error {
	if len(args) == 0 {
		return errors.New("require one or more files")
	}
	for _, name := range args {
		err := dumpAsGIF(os.Stdout, name)
		if err != nil {
			return err
		}
	}
	return nil
})

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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