Documentation
¶
Index ¶
- Variables
- func AutolevelCommand(request *RequestV5, args string) error
- func BrightnessCommand(request *RequestV5, args string) error
- func CropCommand(request *RequestV5, args string) error
- func FlipFlopCommand(request *RequestV5, args string) error
- func FormatCommand(request *RequestV5, args string) error
- func GrayscaleCommand(request *RequestV5, args string) error
- func InvertCommand(request *RequestV5, args string) error
- func LegacyThumbnailCommand(request *RequestV5, args string) error
- func NewSigner(u *url.URL) (dims.UrlSigner, error)
- func PassThroughCommand(request *RequestV5, args string) error
- func QualityCommand(request *RequestV5, args string) error
- func ResizeCommand(request *RequestV5, args string) error
- func RotateCommand(request *RequestV5, args string) error
- func SepiaCommand(request *RequestV5, args string) error
- func SharpenCommand(request *RequestV5, args string) error
- func StripMetadataCommand(request *RequestV5, args string) error
- func ThumbnailCommand(request *RequestV5, args string) error
- type RequestV5
- type VipsCommand
- type VipsOperation
Constants ¶
This section is empty.
Variables ¶
View Source
var CommandsV5 = map[string]VipsOperation{ "crop": CropCommand, "resize": ResizeCommand, "strip": StripMetadataCommand, "format": FormatCommand, "quality": QualityCommand, "sharpen": SharpenCommand, "brightness": BrightnessCommand, "flipflop": FlipFlopCommand, "sepia": SepiaCommand, "grayscale": GrayscaleCommand, "autolevel": AutolevelCommand, "invert": InvertCommand, "rotate": RotateCommand, "thumbnail": ThumbnailCommand, "legacy_thumbnail": LegacyThumbnailCommand, }
Functions ¶
func AutolevelCommand ¶ added in v0.3.0
func BrightnessCommand ¶ added in v0.3.0
func CropCommand ¶ added in v0.3.0
func FlipFlopCommand ¶ added in v0.3.0
func FormatCommand ¶ added in v0.3.0
func GrayscaleCommand ¶ added in v0.3.0
func InvertCommand ¶ added in v0.3.0
func LegacyThumbnailCommand ¶ added in v0.3.0
func PassThroughCommand ¶ added in v0.3.0
func QualityCommand ¶ added in v0.3.0
func ResizeCommand ¶ added in v0.3.0
func RotateCommand ¶ added in v0.3.0
func SepiaCommand ¶ added in v0.3.0
func SharpenCommand ¶ added in v0.3.0
func StripMetadataCommand ¶ added in v0.3.0
func ThumbnailCommand ¶ added in v0.3.0
Types ¶
type RequestV5 ¶
func (*RequestV5) ProcessCommand ¶ added in v0.3.0
func (*RequestV5) ProcessImage ¶ added in v0.3.0
ProcessImage will execute the commands on the image.
func (*RequestV5) ValidateSignature ¶
ValidateSignature verifies the signature of the image resize is valid.
type VipsCommand ¶ added in v0.3.0
type VipsCommand struct {
dims.Command
Operation VipsOperation
}
type VipsOperation ¶ added in v0.3.0
Click to show internal directories.
Click to hide internal directories.