Documentation
¶
Index ¶
Constants ¶
View Source
const ( PipelineTypeLevel = "level" PipelineTypeResize = "resize" PipelineTypeScrentone = "screentone" )
View Source
const ( ResizeModeBox = "box" ResizeModeLanczos = "lanczos" ResizeModeCubic = "cubic" ResizeModeLinear = "linear" ResizeModeNearestNeighbor = "nearest_neighbor" )
Variables ¶
View Source
var ResizeModeList = []string{ResizeModeLanczos, ResizeModeCubic, ResizeModeLinear, ResizeModeBox, ResizeModeNearestNeighbor}
Functions ¶
This section is empty.
Types ¶
type ExecutorSettings ¶
type LevelSettings ¶
type PipelineFileSettings ¶
type PipelineFileSettings struct {
Items []PipelineItem `json:"items"`
}
func (*PipelineFileSettings) UnmarshalJSON ¶
func (p *PipelineFileSettings) UnmarshalJSON(b []byte) error
type PipelineItem ¶
type PipelineItem struct {
Type string `json:"type"`
Settings PipelineItemData `json:"settings"`
}
type PipelineItemData ¶
type PipelineItemData interface{}
type ResizeSettings ¶
type ScreentoneSettings ¶
type ScreentoneSettings struct {
DotSize int `json:"dot_size"`
}
Click to show internal directories.
Click to hide internal directories.