Versions in this module Expand all Collapse all v0 v0.0.1 Feb 24, 2023 Changes in this version + var ErrTooFewArgs = errors.New("too few arguments") + var ErrTooManyArgs = errors.New("too many arguments") + func Register(factory FilterFactory) + type Filter interface + Apply func(*caddy.Replacer, image.Image) (image.Image, error) + type FilterFactory interface + Name func() string + New func(...string) (Filter, error) + Unmarshal func([]byte) (Filter, error) + type ImageFilter struct + FileSystemRaw json.RawMessage + FilterOrder []string + Filters filters + JpegQuality int + MaxConcurrent int64 + PngCompression int + Root string + func (ImageFilter) CaddyModule() caddy.ModuleInfo + func (img *ImageFilter) Provision(ctx caddy.Context) error + func (img *ImageFilter) ServeHTTP(w http.ResponseWriter, r *http.Request, next caddyhttp.Handler) error + func (img *ImageFilter) Validate() error