()
| 28 | } |
| 29 | |
| 30 | func (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 | |
| 43 | type preserveHDRTestCase struct { |
| 44 | name string |
nothing calls this directly
no outgoing calls
no test coverage detected