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

Method ExtendAspectRatioEnabled

processing/options.go:85–87  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83}
84
85func (po ProcessingOptions) ExtendAspectRatioEnabled() bool {
86 return po.GetBool(keys.ExtendAspectRatioEnabled, false)
87}
88
89func (po ProcessingOptions) ExtendAspectRatioGravity() GravityOptions {
90 return NewGravityOptions(po.Options, keys.ExtendAspectRatioGravity, GravityCenter)

Callers 3

extendAspectRatioMethod · 0.80
calcSizesMethod · 0.80
limitScaleMethod · 0.80

Calls 1

GetBoolMethod · 0.80

Tested by

no test coverage detected