You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
code:
var icon = new IconData
{
Icon = SKBitmap.Decode(byteIcon),
IconSizePercent = 10,
};
using var generator = new QRCodeGenerator();
var qr = generator.CreateQrCode(url, ECCLevel.L);
var info = new SKImageInfo(512, 512);
using var surface = SKSurface.Create(info);
var canvas = surface.Canvas;
canvas.Render(qr, info.Width, info.Height, SKColor.Parse("ffffff"), SKColor.Parse("000000"), icon);
using var image = surface.Snapshot();
using var data = image.Encode(SKEncodedImageFormat.Png, 100);
The text was updated successfully, but these errors were encountered:
Linux:
Windows:
code:
var icon = new IconData
{
Icon = SKBitmap.Decode(byteIcon),
IconSizePercent = 10,
};
The text was updated successfully, but these errors were encountered: