v4

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AutolevelCommand

func AutolevelCommand(mw *imagick.MagickWand, args string) error

func BrightnessCommand

func BrightnessCommand(mw *imagick.MagickWand, args string) error

func CropCommand

func CropCommand(mw *imagick.MagickWand, args string) error

func FlipFlopCommand

func FlipFlopCommand(mw *imagick.MagickWand, args string) error

func FormatCommand

func FormatCommand(mw *imagick.MagickWand, args string) error

func GrayscaleCommand

func GrayscaleCommand(mw *imagick.MagickWand, args string) error

func InvertCommand

func InvertCommand(mw *imagick.MagickWand, args string) error

func LegacyThumbnailCommand

func LegacyThumbnailCommand(mw *imagick.MagickWand, args string) error

func QualityCommand

func QualityCommand(mw *imagick.MagickWand, args string) error

func ResizeCommand

func ResizeCommand(mw *imagick.MagickWand, args string) error

func RotateCommand

func RotateCommand(mw *imagick.MagickWand, args string) error

func SepiaCommand

func SepiaCommand(mw *imagick.MagickWand, args string) error

func SharpenCommand

func SharpenCommand(mw *imagick.MagickWand, args string) error

func StripMetadataCommand

func StripMetadataCommand(mw *imagick.MagickWand, args string) error

func ThumbnailCommand

func ThumbnailCommand(mw *imagick.MagickWand, args string) error

Types

type RequestV4

type RequestV4 struct {
	dims.Request
	Timestamp     int32
	TrailingSlash bool
}

func NewRequest

func NewRequest(r *http.Request, config dims.Config) *RequestV4

func (*RequestV4) Sign

func (r *RequestV4) Sign() string

Sign returns a signed string using the MD5 algorithm.

func (*RequestV4) ValidateSignature

func (r *RequestV4) ValidateSignature() bool

ValidateSignature verifies the signature of the image resize is valid.

Jump to

Keyboard shortcuts

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