imgprocessor

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileWriter

type FileWriter interface {
	Handler(filename string, f WriterCallback) error
	Flush() error
}

type MultiThreadImageProcessor

type MultiThreadImageProcessor struct {
	// contains filtered or unexported fields
}

func NewMultiThreadImageProcessor

func NewMultiThreadImageProcessor(
	imgPipeline imageparser.ImagePipeline,
	fileWriter FileWriter, encodingConf inktypes.ImageEncodingOptions,
) *MultiThreadImageProcessor

func (*MultiThreadImageProcessor) Close

func (mtip *MultiThreadImageProcessor) Close() error

func (*MultiThreadImageProcessor) Process

func (mtip *MultiThreadImageProcessor) Process(filename string, data []byte)

func (*MultiThreadImageProcessor) Shutdown

func (mtip *MultiThreadImageProcessor) Shutdown() error

type WriterCallback

type WriterCallback func(writer io.Writer) (metadata inktypes.ImageMetadata, err error)

Jump to

Keyboard shortcuts

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