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)
Click to show internal directories.
Click to hide internal directories.