imgparse

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2026 License: BSD-2-Clause-Views Imports: 12 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidWebpFile           = errors.New("invalid webp file")
	ErrMalformedLosslessWebpFile = errors.New("malformed lossless webp file")
	ErrMalformedWebpFile         = errors.New("malformed webp file")
	ErrUnknownWebpType           = errors.New("unknown webp type")
)
View Source
var ErrUnknownImageType = errors.New("unknown image type")

Functions

func Parse added in v0.0.2

func Parse(r io.Reader, ext string) (int, int, error)

func ParseRes deprecated

func ParseRes(r io.Reader, ext string) (int, int, error)

Deprecated: Use Parse instead.

func Register added in v0.0.2

func Register(ext string, parser func(io.Reader) (int, int, error))

Types

This section is empty.

Jump to

Keyboard shortcuts

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