Version 1.56.1
.NET Standard, .NET Core, and major API expansion · Released February 8, 2017 · NuGet · GitHub Release
Highlights
A landmark release that adds .NET Standard 1.3 and .NET Core support, bringing SkiaSharp to modern .NET platforms. Four new types arrive — SKFontManager, SKSvgCanvas, SKMask, and SK3dView — along with extensive additions to SKPath, SKBitmap, and SKCodec. Unicode, UTF-32, and emoji support is significantly improved. The Xamarin.Forms view renderers are now public and extensible, and the SVG viewbox handling is fixed.
Breaking Changes
Renames
SKStrokeJoin.Mitter→SKStrokeJoin.Miter— Corrected the typo in the enum value name. (#227)
New Features
API Surface
SKFontManager— Find typefaces for a specific character, enabling better font fallback. (#232)SKSvgCanvas(preview) — Create SVG files programmatically via a canvas API. (#107)SKMask— New type for working with mask data, plusSKBitmapcan now be created from anSKMask. (#220)SK3dView— Create 3DSKMatrixtransformations. (#214)SKPathexpansions — Many new members includingAddPolyandSegmentMasks.SKBitmapexpansions — Many new members includingExtractAlphaandExtractSubset.- Unicode and emoji support — Improved support for Unicode, UTF-32, and emoji rendering. (#232)
StringUtilities— New string helper methods for text processing.- High quality
SKMaskFilterblurring — Support for high quality blurring effects. SKCodecscanline decoding — Codecs now support scanline-by-scanline decoding.- PDF metadata and annotations —
SKDocumentnow supports PDF metadata and link annotations. SKImageInfo.PlatformColorTypefix — Now correctly obtains the platform color type.
Platform
- .NET Standard 1.3 support — SkiaSharp now targets .NET Standard 1.3 project types. (#111)
- .NET Core support — Native libraries for Windows (win7, win10) and macOS. (#111)
- Reduced native library sizes — Native binaries reduced to ~5 MB per platform architecture. (#174)
- Class library native copy fix — .NET 4.5 class library builds (including tests) now correctly copy the native assembly to output. (#44, #190)
- Public Xamarin.Forms renderers —
SKCanvasViewRendererandSKGLViewRendererare now public and can be extended by apps and libraries. (#218) - SVG viewbox fix — Fixed handling of the SVG viewbox in SkiaSharp.Svg. (#230)
Bug Fixes
- Fixed
SKImageInfo.PlatformColorTypeto correctly return the platform-specific color type. - Fixed SVG viewbox handling. (#230)
Platform Support
| Platform | What's New |
|---|---|
| 📦 General | .NET Standard 1.3 and .NET Core support; ~5 MB native libraries |
| 🪟 Windows | .NET Core support (win7, win10) |
| 🍎 Apple | .NET Core support (macOS) |
| 🐧 Linux | Partial .NET Core Linux work in progress |
Links
Beta (February 2, 2017)
Initial beta with .NET Standard 1.3 and .NET Core support, new types (SKSvgCanvas, SKMask, SK3dView), reduced native library sizes, and various API additions.