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

Method SetFormat

processing/options.go:125–127  ·  view source on GitHub ↗
(format imagetype.Type)

Source from the content-addressed store, hash-verified

123}
124
125func (po ProcessingOptions) SetFormat(format imagetype.Type) {
126 po.Set(keys.Format, format)
127}
128
129func (po ProcessingOptions) ShouldSkipFormatProcessing(inFormat imagetype.Type) bool {
130 return slices.Contains(po.config.SkipProcessingFormats, inFormat) ||

Callers 2

determineOutputFormatMethod · 0.80
saveImageMethod · 0.80

Calls 1

SetMethod · 0.45

Tested by

no test coverage detected