Table of Contents

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.MitterSKStrokeJoin.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, plus SKBitmap can now be created from an SKMask. (#220)
  • SK3dView — Create 3D SKMatrix transformations. (#214)
  • SKPath expansions — Many new members including AddPoly and SegmentMasks.
  • SKBitmap expansions — Many new members including ExtractAlpha and ExtractSubset.
  • Unicode and emoji support — Improved support for Unicode, UTF-32, and emoji rendering. (#232)
  • StringUtilities — New string helper methods for text processing.
  • High quality SKMaskFilter blurring — Support for high quality blurring effects.
  • SKCodec scanline decoding — Codecs now support scanline-by-scanline decoding.
  • PDF metadata and annotationsSKDocument now supports PDF metadata and link annotations.
  • SKImageInfo.PlatformColorType fix — 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 renderersSKCanvasViewRenderer and SKGLViewRenderer are 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.PlatformColorType to 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

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.

Full Changelog