preprocessor

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2021 License: Apache-2.0, 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