Announcing Release of 1.0.0 #335
guitarrapc
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Announcing Release of 1.0.0
Thank you to everyone who has used and contributed to this project. We’re finally at a release we can call 1.0.0.
With this release, we believe SkiaSharp.QrCode has become a fast, easy-to-use QR code library.
We’ve also added decoding, which wasn’t supported before — we’d love to hear your feedback. That said, the library is designed for clean image inputs; it isn’t intended to handle raw camera captures that require computer vision. Please keep that in mind.
Highlights
CreateQrCode(..., Span<byte> destination)writes the module matrix into a caller-provided buffer with no per-encode heap allocation.QRCodeDecoderreads QR codes from module matrices and from images (rotation, mirroring, inverted palettes; Reed–Solomon error correction included).Overview
GetSvgString(),GetSvgBytes(),SaveSvg(),SaveToSvg(),ToSvgString()onQRCodeImageBuilder(all styling options supported).QrCodeclass removed, deprecated since 0.9.0; useQRCodeImageBuilderinstead.WithModulePixelSize()andWithVersion()for sharper module-aligned output and logo placement.4.148.0.Usage
Quick start (PNG / SVG)
Zero allocation encode
Decode
Migration
The obsolete QrCode class has been removed in 1.0.0. Replace it with QRCodeImageBuilder.
See the Migration Guide for before/after examples (stream output, format/quality, overlays, and default ECC level change: QrCode used ECCLevel.L, QRCodeImageBuilder defaults to ECCLevel.M).
All reactions