imageinfo

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package imageinfo reads image metadata without decoding pixel data.

Index

Constants

View Source
const MaxPixels = 16 << 20

Variables

This section is empty.

Functions

func SupportedPath

func SupportedPath(path string) bool

Types

type Info

type Info struct {
	Width, Height int
	Format        string
	Animated      bool
}

func Read

func Read(data []byte) (Info, error)

func (Info) String

func (i Info) String() string

Jump to

Keyboard shortcuts

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