MCPcopy Create free account
hub / github.com/imgproxy/imgproxy / applyPixelateOption

Method applyPixelateOption

options/parser/apply.go:341–343  ·  view source on GitHub ↗
(ctx context.Context, o *options.Options, args []string)

Source from the content-addressed store, hash-verified

339}
340
341func (p *Parser) applyPixelateOption(ctx context.Context, o *options.Options, args []string) error {
342 return p.parsePositiveInt(ctx, o, keys.Pixelate, args...)
343}
344
345func (p *Parser) applyWatermarkOption(ctx context.Context, o *options.Options, args []string) error {
346 if err := p.ensureMaxArgs(ctx, "watermark", args, 7); err != nil {

Callers 1

applyURLOptionMethod · 0.95

Calls 1

parsePositiveIntMethod · 0.95

Tested by

no test coverage detected