filing

package
v0.0.0-...-98db5b7 Latest Latest
Warning

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

Go to latest
Published: May 7, 2020 License: CC-BY-4.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFilePaths

func GetFilePaths(dir string) []string

GetFilePaths returns a slice of strings of the path to all the files in the directory

func WriteImage

func WriteImage(dir string, fname string, newimage image.Image) error

WriteImage will take an image.Image and encode it to a jpg

func WritetoHD

func WritetoHD(dir, fname string, e Encoder) error

WritetoHD will write the Encoder to the hard drive

Types

type Encoder

type Encoder interface {
	Encode(w io.Writer) error
}

Encoder is used to encode

Jump to

Keyboard shortcuts

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