provider

package
v0.0.0-...-9fc8a72 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2015 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(r io.Reader) (img.Img, error)

func GetFilterMap

func GetFilterMap() map[string]filter.FilterBuilder

func Set

func Set(p Provider)

Types

type Provider

type Provider interface {
	Decode(r io.Reader) (img.Img, error)
	FilterMap() map[string]filter.FilterBuilder
	WriterMap() map[string]Writer
}

type Writer

type Writer interface {
	Write(i img.Img, quality int, w io.Writer) error
}

func GetWriter

func GetWriter(format string) Writer

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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