Use SkiaSharp to encode images in Uno proejcts
SkiaSharp is a versatile package that can be used on all mobile platforms. The following code encodes a pixel array to an JPEG image and displays it. SKImageInfo sii = new SKImageInfo(iWidth, 1, SKColorType.Rgba8888); SKData sd = SKData.Create(new MemoryStream(abPixels)); SKImage sKImage = SKImage.FromPixelData(sii, sd, iWidth…
Continue reading...