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

Method WatermarkScale

processing/options.go:253–255  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

251}
252
253func (po ProcessingOptions) WatermarkScale() float64 {
254 return po.GetFloat(keys.WatermarkScale, 0.0)
255}
256
257func (po ProcessingOptions) PreserveHDR() bool {
258 return po.Main().GetBool(keys.PreserveHDR, po.config.PreserveHDR)

Callers 1

prepareWatermarkMethod · 0.80

Calls 1

GetFloatMethod · 0.80

Tested by

no test coverage detected