blp

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2019 License: MPL-2.0 Imports: 6 Imported by: 4

Documentation

Overview

Package blp is a BLIzzard Picture image format decoder.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrBadFormat          = errors.New("blp: Invalid file format")
	ErrInvalidCompression = errors.New("blp: Compression not supported")
)

Errors

View Source
var Header = protocol.DString("BLP1")

Header constant for BLP files

Functions

func Decode

func Decode(r io.Reader) (image.Image, error)

Decode a BLP image. Only take the first image if it's a mipmap.

Types

This section is empty.

Jump to

Keyboard shortcuts

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