tiff

package
v0.0.0-...-f8c0f81 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2011 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Overview

Package tiff implements a TIFF image decoder.

The TIFF specification is at http://partners.adobe.com/public/developer/en/tiff/TIFF6.pdf

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(r io.Reader) (img image.Image, err os.Error)

Decode reads a TIFF image from r and returns it as an image.Image. The type of Image returned depends on the contents of the TIFF.

func DecodeConfig

func DecodeConfig(r io.Reader) (image.Config, os.Error)

DecodeConfig returns the color model and dimensions of a TIFF image without decoding the entire image.

Types

type FormatError

type FormatError string

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

func (FormatError) String

func (e FormatError) String() string

type InternalError

type InternalError string

An InternalError reports that an internal error was encountered.

func (InternalError) String

func (e InternalError) String() string

type UnsupportedError

type UnsupportedError string

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

func (UnsupportedError) String

func (e UnsupportedError) String() string

Jump to

Keyboard shortcuts

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