cropv2

package
v0.0.0-...-72bed2c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 1, 2025 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdCropV2

func NewCmdCropV2(f *cmdutil.Factory) *cobra.Command

Types

type Command

type Command struct {
	File            *cmdutil.InputFile
	Output          string
	FinalOutputName string
	DockerConfig    docker.ContainerConfig
	CropStart       image.Point
	Width           int
	Height          int
}

func (*Command) Command

func (c *Command) Command() []string

func (*Command) ContainerConfig

func (c *Command) ContainerConfig() docker.ContainerConfig

func (*Command) Prepare

func (c *Command) Prepare() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL