MCPcopy Create free account
hub / github.com/dfinity/examples / add_gradient

Function add_gradient

rust/qrcode/backend/src/core.rs:89–114  ·  view source on GitHub ↗

Adds a color gradient to the black squares of the QR code image. The gradient goes from the center of the image to its sides.

(qr: &mut ImageBuffer<Rgba<u8>, Vec<u8>>)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

generateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected