imageinfo

package
v1.11.2 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 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 SVGPath added in v1.11.0

func SVGPath(path string) bool

SVGPath identifies text images that need an external rasterizer.

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