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

Method URLOptions

processing/colorspace_test.go:30–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28}
29
30func (tc colorspaceTestCase) URLOptions() string {
31 opts := fmt.Sprintf(
32 "resize:fill:%d:%d/enlarge:1/format:%s",
33 colorspaceTestOutSize.width,
34 colorspaceTestOutSize.height,
35 tc.outFormat,
36 )
37 if tc.watermarkFile != "" {
38 opts += "/watermark:0.5"
39 }
40 return opts
41}
42
43type preserveHDRTestCase struct {
44 name string

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected