Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultFlagSet ¶
DefaultFlagSet returns a `flag.FlagSet` instance configured with the default flags for running an application to generate SVG derived from an image's contours.
func Run ¶
Run invokes the application to generate SVG derived from an image's contours using the default flags.
func RunWithFlagSet ¶
Run invokes the application to generate SVG derived from an image's contours using a custom `flag.FlagSet` instance.
func RunWithOptions ¶
func RunWithOptions(ctx context.Context, opts *RunOptions, paths ...string) error
Run invokes the application to generate SVG derived from an image's contours configured using 'opts'.
Types ¶
type RunOptions ¶
type RunOptions struct { // SourceURI is a `gocloud.dev/blob.Bucket` URI specifying the location where images are read from. SourceURI string // SourceURI is a `gocloud.dev/blob.Bucket` URI specifying the location where images are written to. TargetURI string // Logger is a `log.Logger` instance used for logging messages and feedback. Logger *log.Logger }
RunOptions is a struct containing configuration details for running an image transformation application.
Click to show internal directories.
Click to hide internal directories.