decoder

package
v0.0.0-...-75471f8 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Decoder

type Decoder interface {
	// Decode takes the header-less reader and tries to read an parse the image-data from it.
	Decode(io.Reader) (image.Image, error)
}

Decoder is the default interface for actual decoding operations.

func Find

func Find(h *header.Header) (d Decoder, err error)

Find takes a parsed header.Header and tries to find a fitting Decoder or returns an error.

Directories

Path Synopsis
dxt
Package dxt holds decoder for all kind DXT based dds encodings Specification: https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_texture_compression_s3tc.txt.
Package dxt holds decoder for all kind DXT based dds encodings Specification: https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_texture_compression_s3tc.txt.

Jump to

Keyboard shortcuts

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