Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PixelW int PixelH int )
View Source
var ( // ErrNoBackend is returned if no backends // are available ErrNoBackend = errors.New("no backend") )
View Source
var PossibleBackends = []Backend{ &Ueberzug{}, &W3M{}, }
PossibleBackends is a list of possible image backends
Functions ¶
Types ¶
type Backend ¶
type Backend interface { // Available should return nil if an image // backend successfully runs. This could be // used for intializing backends. Available() error Spawn(image.Image, int, int) error Delete() error }
Backend is the interface for various image backends
type Ueberzug ¶
type Ueberzug struct {
// contains filtered or unexported fields
}
Ueberzug is the backend for ueberzug-go: https://gitlab.com/diamondburned/ueberzug-go
Source Files ¶
Click to show internal directories.
Click to hide internal directories.