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

Method applyStripColorProfileOption

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

Source from the content-addressed store, hash-verified

475}
476
477func (p *Parser) applyStripColorProfileOption(ctx context.Context, o *options.Options, args []string) error {
478 return p.parseBool(ctx, o, keys.StripColorProfile, args...)
479}
480
481func (p *Parser) applyPreserveHDROption(ctx context.Context, o *options.Options, args []string) error {
482 return p.parseBool(ctx, o, keys.PreserveHDR, args...)

Callers 1

applyURLOptionMethod · 0.95

Calls 1

parseBoolMethod · 0.95

Tested by

no test coverage detected