Table of Contents

Version 1.53.0

Skia m53 uplift · Released July 29, 2016 · NuGet · GitHub Release

API changes · SkiaSharp API diff

Highlights

SkiaSharp 1.53.0 uplifts to Skia m53 and reshapes several core enums and APIs. This release realigns SkiaSharp with upstream Skia m53. Several enum values shift, decode overloads that took a preferred colour type are gone, and a handful of legacy image-decoder types are removed. Check the API diff below before upgrading.

Breaking Changes

  • Core enum values renumbered — SKAlphaType and SKColorType members were renumbered to match Skia m53. Any code that persisted or compared the raw integer values (for example, from serialised data) needs to be re-checked; code that uses the named members is unaffected.
  • Preferred-colour-type decode overloads removed — The SKBitmap.Decode and DecodeBounds overloads that took an SKColorType hint are gone. Decode into the default colour type and convert with SKBitmap.CopyTo or SKPixmap if a specific format is needed.
  • Parameterless SKCanvas.Save and single-argument clip/save-layer overloads removed — Several thin SKCanvas overloads (Save(), ClipPath(path), ClipRect(rect), SaveLayer(paint), SaveLayer(limit, paint)) were removed in favour of the fuller signatures that take antialias / clip-op / bounds arguments. Pass the previous default values explicitly.
  • SKImageDecoder family removed — SKImageDecoder and its companion enums (SKImageDecoderFormat, SKImageDecoderMode, SKImageDecoderResult) were removed along with the upstream Skia type. Use SKBitmap.Decode or SKCodec instead.
  • Miscellaneous API removals — SKImageFilter.CreateDownSample, the public IntPtr-handle constructor on SKPictureRecorder, and the SKSurfaceProps.PixelGeometry setter were removed. See the SkiaSharp API diff for the full list.

Engine

  • Uplift to Skia m53 — The bundled Skia engine moves to milestone 53, picking up upstream rendering fixes and API changes.

Beta 0 (June 15, 2016)

The June 2016 beta build, rolled up on the road to 1.53.0.

Full changelog

Beta 0 (May 14, 2016)

The May 2016 beta build, rolled up here.

Full changelog

Beta 0 (April 19, 2016)

The April 2016 beta build, rolled up here.

Full changelog