Table of Contents

Version 1.57.0

Skia m57 upgrade with new encoding APIs · Released April 10, 2017 · NuGet · GitHub Release

Highlights

A major release upgrading the native Skia engine from m56 to m57. This brings direct encoding support on SKBitmap, SKPixmap, and SKSurface, XPS document creation on Windows, and deprecates SK3dView in favor of SKMatrix44. Several breaking changes align the API with upstream Skia removals.

Breaking Changes

Removed APIs

  • Emboss and shadow SKMaskFilter removed — These filter types are no longer available in upstream Skia m57.
  • SKEncodedFormat and SKImageEncodeFormat renamed — Use SKEncodedImageFormat instead.
  • [Obsolete] members are now errors — Previously obsolete members now produce compile-time errors. Update to the recommended replacements.

Deprecations

  • SK3dView is now obsolete — Use SKMatrix44 instead for 3D transformations.

New Features

Engine

  • Skia m57 upgrade — Major update to the latest stable Skia milestone (chrome/m57).

API Surface

  • SKBitmap.Encode — Bitmaps can now be encoded directly without creating an intermediate image.
  • SKCanvas draws SKSurface directly — Draw a surface onto a canvas without extracting an image first.
  • SKData empty creationSKData can now be created without existing data (uninitialized).
  • SKPixmap.Encode overloads — Encode pixel data directly from a pixmap.
  • SKSurface pixel data access — New members to access pixel data directly from a surface.

Documents

Extensions (Preview)

  • SKGeometry utilities — Initial work on geometry helpers including CreateSectorPath for pie/donut shapes, CreatePiePath for charts, and methods to create regular shape paths.

Bug Fixes

  • Resolved AOT errors on Android.
  • SKCanvasView and SKGLView now correctly resize in Xamarin.Forms in some cases.
  • Many other bug fixes and improvements.

Platform Support

Platform What's New
🪟 Windows XPS document creation via SKDocument
🤖 Android AOT error fixes
🎨 Core Skia m57 engine upgrade, new encoding APIs