Skip to content

Version 1.56.1 (beta)

Pre-release
Pre-release
Compare
Choose a tag to compare
@mattleibow mattleibow released this 02 Feb 06:51

SkiaSharp

A cross-platform 2D graphics API for .NET platforms based on Google's Skia Graphics Library. It provides a comprehensive 2D API that can be used across mobile, server and desktop models to render images.

  • New & Improved Platforms
    • Support for .NET Standard 1.3 project types
    • Support for .NET Core (win7, win10, osx)
    • Reduced native library sizes to ~5MB per platform architecture (#174)
    • Partial work to get a .NET Core Linux build. (#90)
  • Added Types
    • Added support for the SKSvgCanvas (preview)
    • Added support for SKMask
    • Added support for SK3dView (creating 3D SKMatrix transformations)
  • Other API Additions
    • PDF SKDocument now supports metadata and annotations
    • SKBitmap can be created from a SKMask
    • Changed SKStrokeJoin.Mitter to SKStrokeJoin.Miter
    • SKImageInfo.PlatformColorType now correctly obtains the platform color type

NuGet: https://www.nuget.org/packages/SkiaSharp/1.56.1-beta
Code Diff: v1.56.0...v1.56.1-beta

SkiaSharp.Views

A set of pre-prepared UI views, panels and surfaces for drawing. One of these views can be added to the view hierachy, and then be used for drawing without the need for complex setup. There is also a set of extension methods for converting to/from SkiaSharp and native types.

NuGet: https://www.nuget.org/packages/SkiaSharp.Views/1.56.1-beta

SkiaSharp.Views.Forms

A set of pre-prepared views for Xamarin.Forms, for fully cross-platform drawing code. There are views for both CPU and GPU backends, along with extension methods for converting to/from SkiaSharp and Xamarin.Forms types. Currently available for iOS, Android and UWP.

NuGet: https://www.nuget.org/packages/SkiaSharp.Views.Forms/1.56.1-beta

SkiaSharp.Svg (preview)

Support for SVG has been a hot topic, but Google has stated that this is not going to be a feature coming soon (or at all). However, we do want to support SVG. To this end, we are trying out a lightweight SVG parser.

NuGet: https://www.nuget.org/packages/SkiaSharp.Svg/1.56.1-beta

Samples

A few new samples were added to demonstrate some new features.

All the samples that have been built and tested for this version of SkiaSharp can be downloaded in the "Downloads" links below.