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

Method ResizingType

processing/options.go:49–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47}
48
49func (po ProcessingOptions) ResizingType() ResizeType {
50 return options.Get(po.Options, keys.ResizingType, ResizeFit)
51}
52
53func (po ProcessingOptions) ZoomWidth() float64 {
54 return po.GetFloat(keys.ZoomWidth, 1.0)

Callers 2

calcScaleMethod · 0.80
calcSizesMethod · 0.80

Calls 1

GetFunction · 0.92

Tested by

no test coverage detected