exr

package module
v0.0.0-...-d31a480 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2019 License: BSD-3-Clause Imports: 11 Imported by: 0

README

exr
===

exr is go implementation of OpenEXR file importer/exporter.

Documentation

Index

Constants

View Source
const (
	HUF_ENCBITS = 16
	HUF_DECBITS = 14
	HUF_ENCSIZE = (1 << HUF_ENCBITS) + 1
	HUF_DECSIZE = (1 << HUF_DECBITS)
	HUF_DECMASK = (1 << HUF_DECBITS) - 1
)
View Source
const (
	UINT = pixelType(iota)
	HALF
	FLOAT
)
View Source
const (
	NO_COMPRESSION = compression(iota)
	RLE_COMPRESSION
	ZIPS_COMPRESSION
	ZIP_COMPRESSION
	PIZ_COMPRESSION
	PXR24_COMPRESSION
	B44_COMPRESSION
	B44A_COMPRESSION
)
View Source
const (
	INCREASING_Y = lineOrder(iota)
	DECREASING_Y
	RANDOM_Y
)
View Source
const (
	DATA_RANGE = 1 << 16
)

Variables

View Source
var MagicNumber = 20000630

Functions

func Decode

func Decode(path string) (image.Image, error)

Types

type FormatError

type FormatError string

A FormatError reports that the input is not a valid EXR image.

func (FormatError) Error

func (e FormatError) Error() string

type UnsupportedError

type UnsupportedError string

An UnsupportedError reports that the input uses a valid but unimplemented feature.

func (UnsupportedError) Error

func (e UnsupportedError) Error() string

type VersionField

type VersionField struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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