io

package
v0.0.0-...-ed1255c Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2016 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	InputPath   = "input-path"
	InputFormat = "input-format"
)
View Source
const (
	OutputPath   = "output-path"
	OutputFormat = "output-format"
)

Variables

This section is empty.

Functions

func NewCopyExifLinker

func NewCopyExifLinker(opts CopyExifOptions) graph.Linker

func NewLoadLinker

func NewLoadLinker(opts LoadOptions) (graph.Linker, error)

func NewSaveLinker

func NewSaveLinker(opts SaveOptions) (graph.Linker, error)

Types

type CopyExif

type CopyExif struct {
	base.Node
	// contains filtered or unexported fields
}

func (CopyExif) Process

func (n CopyExif) Process(wd graph.WalkData, buffers map[graph.ConnectorName]drawgl.Result, output chan<- drawgl.Result)

type CopyExifOptions

type CopyExifOptions struct {
	Executable     string
	ExecutableType ExecType
	InputPath      string
	OutputPath     string
}

type ExecType

type ExecType int
const (
	Exiftool ExecType = iota
)

type Load

type Load struct {
	base.Node
	// contains filtered or unexported fields
}

func (Load) Process

func (n Load) Process(wd graph.WalkData, buffers map[graph.ConnectorName]drawgl.Result, output chan<- drawgl.Result)

type LoadOptions

type LoadOptions struct {
	Reader io.Reader
	Path   string
}

type Save

type Save struct {
	base.Node
	// contains filtered or unexported fields
}

func (Save) Process

func (n Save) Process(wd graph.WalkData, buffers map[graph.ConnectorName]drawgl.Result, output chan<- drawgl.Result)

type SaveOptions

type SaveOptions struct {
	Writer      io.Writer
	Path        string
	Type        string
	JpegOptions *jpeg.Options
	GifOptions  *gif.Options
}

Jump to

Keyboard shortcuts

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