preprocessor

package
v0.0.0-...-499b85e Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileConverter

type FileConverter interface {
	Convert(r io.Reader) (image.Image, error)
}

func ForType

func ForType(mimeType string) FileConverter

type ImageDecoder

type ImageDecoder struct{}

func (ImageDecoder) Convert

func (i ImageDecoder) Convert(r io.Reader) (image.Image, error)

type TxtToImageConverter

type TxtToImageConverter struct{}

func (TxtToImageConverter) Convert

func (t TxtToImageConverter) Convert(r io.Reader) (image.Image, error)

Jump to

Keyboard shortcuts

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