Skip to content

Releases: mono/SkiaSharp

Version 1.53.1

16 Aug 14:32

Choose a tag to compare

Changes

  • NEW Breaking Change: SkiaSharp.dll is now a strong name assembly
  • NEW SKColorTable
  • NEW SKBitmap now has support for SKColorTable
  • NEW SKCodec now has support for SKColorTable
  • Fixed a few bugs
  • Lots more docs
  • Added a WPF sample

Issues

Several issues were closed, either fixed or resolved some other way.

NuGet: https://www.nuget.org/packages/SkiaSharp/1.53.1

Version 1.53.0

01 Aug 16:16

Choose a tag to compare

Changes

  • NEW SKPathEffect
  • NEW SKPath now has additional members (3)
  • NEW SKPath can now be iterated over
  • NEW SKCodec (1)
  • NEW SkiaSharp can now load Adobe DNG image formats
  • NEW SKPoint and SKMatrix now have many more members
  • NEW SKCanvas now has transformations using a center point
  • NEW SKCanvas can now draw additional shapes
  • NEW SKTypeface can now be created with additional options
  • CHANGED SKColorType.N_32 is now replaced with SKImageInfo.PlatformColorType (2)
  • REMOVED SKImageDecoder (1)
  • FIX Corrected many memory issues

NuGet: https://www.nuget.org/packages/SkiaSharp/1.53.0

Notes

Note 1

The SKImageDecoder type is now replaced with SKCodec, which .

Note 2

The platform-specific SKColorType is no longer part of the enum, but as a static property on the SKImageInfo type. This is to reduce confusion because the platform-specific value was not actually a separate value.

Note 3

The SKPath type now includes several additional members to aid path creation: ArcTo, RArcTo, Rewind, Reset, AddPath, AddRoundedRect and AddCircle.

Version 1.49.4 (Beta)

15 Jun 16:39

Choose a tag to compare

Version 1.49.4 (Beta) Pre-release
Pre-release

Changes

  • NEW Apple tvOS support
  • NEW Support for PDF creation (1)

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

Notes

Note 1

A PDF file can be created using a SKDocument and then by drawing using the normal drawing methods:

using (var stream = new SKFileWStream ("document.pdf")) using (var document = SKDocument.CreatePdf (stream)) { // the first page using (var canvas = document.BeginPage (width, height)) using (var paint = new SKPaint ()) { canvas.DrawText ("...PDF...", 10f, 100f, paint); document.EndPage (); } // the second page using (var canvas = document.BeginPage (width, height)) using (var paint = new SKPaint ()) { canvas.DrawText ("...PDF...", 10f, 100f, paint); document.EndPage (); } // all done document.Close (); }

Version 1.49.3 (Beta)

14 May 17:42

Choose a tag to compare

Version 1.49.3 (Beta) Pre-release
Pre-release

Changes

  • NEW Windows UWP support
  • NEW Support for additional platforms (1)
  • NEW Support for SKCanvas clipping (2)
  • FIX Return types for SKCanvas saving (3)
  • FIX Improved UTF-32/UTF-16/UTF-8 handling (4)

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

Notes

Note 1

To better enable support for additional platforms not yet officially supported, such as Linux, we have a new feature that will prevent the inclusion of the default native library. To support a custom platform, first disable the native library by adding:

<ShouldIncludeNativeSkiaSharp>False</ShouldIncludeNativeSkiaSharp>

to the project that includes the native library (net45 library or exe). This will prevent the default library from being included, but then you will have to include your native library manually. The only criteria for this is to ensure that the native library is named libSkiaSharp.

Note 2

The old SKCanvas.ClipRect and SKCanvas.ClipPath did not provide a means to reset the clip region. New methods were added for this:

void ClipRect(SKRect rect, SKRegionOperation operation = SKRegionOperation.Intersect, bool antialias = false); void ClipPath(SKRect rect, SKRegionOperation operation = SKRegionOperation.Intersect, bool antialias = false); bool GetClipBounds(ref SKRect bounds); bool GetClipDeviceBounds(ref SKRectI bounds);

Note 3

SKCanvas.Save and SKCanvas.SaveLayer did not correctly return the value from native code.

Note 4

The original implementation of SKPaint.MeasureText, SKPaint.BreakText, SKPaint.GetTextPath and SKPaint.GetPosTextPath tried to convert the text to UTF-16 before performing the operation. The new implementation uses the encoding provided by the SKPaint instance.

Just like when writing text to the screen, the SKPaint uses the text encoding provided by the TextEncoding property for all text operations.

Version 1.49.2.1 (beta)

19 Apr 21:26

Choose a tag to compare

Pre-release

Changes in this version:

  • the latest changes from Google's Skia m49
  • additions from @kekekeks

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

Version 1.49.1

18 Apr 23:03

Choose a tag to compare

v1.49.1 

Version 1.49.2 (beta)

18 Apr 23:05

Choose a tag to compare

Version 1.49.2 (beta) Pre-release
Pre-release

Changes in this release from @bholmes, @joelmartinez, @migueldeicaza, @petergolde and @tdenniston.

Version 1.49.0 (beta)

07 Mar 17:55

Choose a tag to compare

Version 1.49.0 (beta) Pre-release
Pre-release

Initial Release