Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Operation ¶
type Operation struct { Image string `json:"image" default:"default"` Dx int `json:"dx" default:"4"` Dy int `json:"dy" default:"4"` Size int `json:"size" default:"0"` URL string `json:"url" default:"https://example.com"` Version coding.Version `json:"version" default:"6"` Mask coding.Mask `json:"mask" default:"2"` RandControl bool `json:"randcontrol" default:"false"` Dither bool `json:"dither" default:"false"` OnlyDataBits bool `json:"onlydatabits" default:"false"` SaveControl bool `json:"savecontrol" default:"false"` Seed string `json:"seed"` Scale int `json:"scale" default:"8"` Rotation int `json:"rotation" default:"0"` // range in [0,3] }
func NewOperation ¶
func (*Operation) GetRotation ¶
func (*Operation) GetVersion ¶
func (*Operation) SetDefaults ¶
func (op *Operation) SetDefaults()
Click to show internal directories.
Click to hide internal directories.