native

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2026 License: BSD-2-Clause, MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Version

func Version() (string, error)

Types

type DecodeResult

type DecodeResult struct {
	Output      []byte
	Width       int
	Height      int
	Components  int
	Precision   int
	IsSigned    bool
	ColourSpace int
}

func Decode

func Decode(data []byte, codec int) (*DecodeResult, error)

type ImageParams

type ImageParams struct {
	Width       int
	Height      int
	Components  int
	Precision   int
	IsSigned    bool
	ColourSpace int
}

func GetParameters

func GetParameters(data []byte, codec int) (*ImageParams, error)

type StatusError

type StatusError struct {
	Op   string
	Code int
}

func (*StatusError) Error

func (e *StatusError) Error() string

Jump to

Keyboard shortcuts

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