Repository navigation
v0.4.0
Added
qrkit/render/pngnow exposes the same options-builder shape asqrkit/render/svgandqrkit/render/ascii:default_options(),with_module_size,with_margin,with_dark_color,with_light_color,with_background, andto_bit_array_with(qr, options). The existingto_bit_array(qr, scale:, margin:)is preserved as a thin wrapper over the new path. Colour fields accept#rgb,#rrggbb, and#rrggbbaastrings (the alpha component is read but currently honoured only via thewith_background(False)toggle, which marks the light palette entry transparent through atRNSchunk); unparseable strings keep the previous value rather than failing the call, mirroring the SVG renderer's lenient parsing. Closes the parity gap left by #8. (#28)
Install
gleam add qrkitSee HexDocs for the API
reference.