Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OutputFormat ¶
type OutputFormat int
OutputFormat is the image format to output to
const ( // JPEG represents the JPEG format JPEG OutputFormat = iota // WebP represents the WebP format WebP )
type Processor ¶
type Processor interface {
ProcessImage(ctx context.Context, task *Task) (processedImage []byte, err error)
}
Processor is an image processor
Click to show internal directories.
Click to hide internal directories.