We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Presudo code.
var content = "foobar"; var qrCode = new QrCode(content, new Vector2Slim(256, 256), SKEncodedImageFormat.Png); byte[] bytes = qrCode.GetImage(ECCLevel.L); // <- new. return byte[] // treat byte as you like. .AsSpan() or any.
Current API is following.
using var stream = new MemoryStream(); var qr = new QrCode("WIFI:T:WPA;S:mynetwork;P:mypass;;", new Vector2Slim(512, 512), SKEncodedImageFormat.Png); qr.GenerateImage(stream); Bitmap.FromStream(stream).Dump(); // Show Bitmap on LinqPad
This become...
var qrCode = new QrCode("WIFI:T:WPA;S:mynetwork;P:mypass;;", new Vector2Slim(256, 256), SKEncodedImageFormat.Png); Bitmap.FromStream(new MemoryStream(qrCode.GetImage(ECCLevel.L))).Dump();
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Presudo code.
How change?
Current API is following.
This become...
The text was updated successfully, but these errors were encountered: