SkiaSharp 4.154.0-preview.1.26454.9

SkiaSharp

NuGet NuGet downloads License: MIT

SkiaSharp is a cross-platform 2D graphics API for .NET powered by Google's Skia graphics engine. Draw vector graphics, render text, process images, apply shaders and filters, and produce consistent output across mobile, desktop, server, and WebAssembly applications.

What you can build

  • Rich 2D graphics - paths, shapes, text, images, color spaces, shaders, filters, blend modes, and more.
  • Cross-platform - Windows, macOS, Linux, Android, iOS, Mac Catalyst, tvOS, Tizen, and WebAssembly.
  • CPU and GPU rendering - software rasterization plus OpenGL, Metal, Vulkan, and Direct3D integrations.
  • Broad output support - render to pixels, encode common image formats, create PDFs, or generate SVG.
  • Native performance with an idiomatic C# API - the same Skia engine used by Chrome, Android, Flutter, and many other products.
  • Open source - developed in the open by Microsoft and the .NET community under the MIT license.

Get started

Install the package:

dotnet add package SkiaSharp

Create an image and save it as a PNG:

using SkiaSharp;

var info = new SKImageInfo(640, 360);
using var surface = SKSurface.Create(info);
var canvas = surface.Canvas;

canvas.Clear(new SKColor(0x0B, 0x10, 0x20));

using var shader = SKShader.CreateLinearGradient(
    new SKPoint(0, 0),
    new SKPoint(info.Width, info.Height),
    new[] { new SKColor(0x44, 0x88, 0xFF), new SKColor(0xB8, 0x44, 0xE8) },
    SKShaderTileMode.Clamp);
using var paint = new SKPaint
{
    IsAntialias = true,
    Shader = shader,
};

canvas.DrawCircle(info.Width / 2f, info.Height / 2f, 120, paint);

using var image = surface.Snapshot();
using var data = image.Encode(SKEncodedImageFormat.Png, 100);
using var output = File.Create("hello-skiasharp.png");
data.SaveTo(output);

Linux: add SkiaSharp.NativeAssets.Linux to the application project for fontconfig integration, or SkiaSharp.NativeAssets.Linux.NoDependencies for minimal containers and explicit font loading. See the package deployment guide for details.

Choose the right integration

Scenario Package
Draw into bitmaps, images, surfaces, PDFs, and SVG SkiaSharp
.NET MAUI controls SkiaSharp.Views.Maui.Controls
Blazor WebAssembly components SkiaSharp.Views.Blazor
Android, iOS, Mac Catalyst, macOS, tvOS, and Tizen native views SkiaSharp.Views
WPF, Windows Forms, WinUI, or GTK controls Use the matching SkiaSharp.Views.* package
Complex text shaping SkiaSharp.HarfBuzz
Lottie animation playback SkiaSharp.Skottie

Learn and explore

Feedback and contributing

SkiaSharp is built in the open. Use GitHub Discussions for questions, file bugs and feature requests in the issue tracker, and read the contributing guide to help improve the project.

SkiaSharp is released under the MIT license.

Showing the top 20 packages that depend on SkiaSharp.

Packages Downloads
LiveChartsCore.SkiaSharpView
Simple, flexible, interactive and powerful data visualization for .Net, this package contains the SkiaSharp backend.
76
LiveChartsCore.SkiaSharpView
Package Description
75
LiveChartsCore.SkiaSharpView
Simple, flexible, interactive and powerful data visualization for .Net, this package contains the SkiaSharp backend.
74
LiveChartsCore.SkiaSharpView
Simple, flexible, interactive and powerful data visualization for .Net, this package contains the SkiaSharp backend.
73
LiveChartsCore.SkiaSharpView
Simple, flexible, interactive and powerful data visualization for .Net, this package contains the SkiaSharp backend.
72
SkiaSharp.HarfBuzz
This package adds text shaping support to SkiaSharp via HarfBuzz.
71
LiveChartsCore.SkiaSharpView
Simple, flexible, interactive and powerful data visualization for .Net, this package contains the SkiaSharp backend.
71
SkiaSharp.HarfBuzz
This package adds text shaping support to SkiaSharp via HarfBuzz.
70
LiveChartsCore.SkiaSharpView
Simple, flexible, interactive and powerful data visualization for .Net, this package contains the SkiaSharp backend.
70
LiveChartsCore.SkiaSharpView
Simple, flexible, interactive and powerful data visualization for .Net, this package contains the SkiaSharp backend.
69

Please visit https://go.microsoft.com/fwlink/?linkid=868517 to view the release notes.

.NET 10.0

.NET Standard 2.1

.NET Standard 2.0

.NET 9.0

.NET 9.0

.NET 9.0

.NET 9.0

.NET 9.0

.NET 9.0

.NET 9.0

.NET 9.0

.NET 6.0

.NET 6.0

.NET 10.0

.NET 10.0

.NET 10.0

.NET 10.0

.NET 10.0

.NET 10.0

.NET Framework 4.6.2

.NET Framework 4.8

.NET 10.0

Version Downloads Last updated
4.156.0-preview.1.26512.10 5 10/18/2026
4.155.0-rc.1.26512.8 5 10/19/2026
4.155.0-preview.2.26479.13 8 10/03/2026
4.155.0-preview.1.26471.14 9 10/03/2026
4.154.0 0 10/28/2026
4.154.0-rc.1.26479.14 7 10/03/2026
4.154.0-preview.2.26471.11 9 10/03/2026
4.154.0-preview.1.26454.9 22 09/06/2026
4.153.2 0 10/28/2026
4.153.1 9 10/03/2026
4.153.0 8 10/03/2026
4.153.0-rc.1.26456.2 11 09/18/2026
4.153.0-preview.1.26454.6 20 09/06/2026
4.152.4 0 10/28/2026
4.152.3 9 10/03/2026
4.152.2 9 10/03/2026
4.152.1 11 09/18/2026
4.152.0 14 09/09/2026
4.152.0-rc.1.26426.14 28 08/28/2026
4.152.0-preview.1.1 24 08/11/2026
4.151.5 9 10/02/2026
4.151.4 9 10/03/2026
4.151.3 9 09/19/2026
4.151.2 23 09/03/2026
4.151.1 23 08/10/2026
4.151.0 22 08/04/2026
4.151.0-rc.1.1 31 07/22/2026
4.151.0-preview.2.1 31 07/18/2026
4.151.0-preview.1.1 35 07/03/2026
4.150.5 9 10/03/2026
4.150.4 6 10/03/2026
4.150.3 22 09/03/2026
4.150.2 22 08/10/2026
4.150.1 32 07/18/2026
4.150.0 25 07/09/2026
4.150.0-rc.1.1 28 07/01/2026
4.150.0-preview.2.1 28 06/26/2026
4.150.0-preview.1.1 29 06/16/2026
4.148.0 35 06/26/2026
4.148.0-rc.1.2 38 06/15/2026
4.147.0-preview.3.1 39 05/26/2026
4.147.0-preview.2.1 35 05/14/2026
4.147.0-preview.1.1 38 05/01/2026
3.119.4 39 05/26/2026
3.119.4-preview.1.1 41 04/23/2026
3.119.3-preview.1.1 43 02/11/2026
3.119.2 47 02/08/2026
3.119.2-preview.3.1 43 02/09/2026
3.119.2-preview.2.3 51 02/01/2026
3.119.2-preview.1 61 10/23/2025
3.119.1 62 10/23/2025
3.119.1-preview.1 59 10/23/2025
3.119.0 66 10/23/2025
3.119.0-stable.1 62 10/23/2025
3.119.0-preview.1.2 61 10/23/2025
3.118.0-preview.2.3 59 10/23/2025
3.118.0-preview.1.2 67 10/23/2025
3.116.1 60 10/17/2025
3.116.0 61 10/23/2025
3.116.0-preview.6.1 61 10/23/2025
3.0.0-preview.5.4 64 10/23/2025
3.0.0-preview.4.1 68 10/23/2025
3.0.0-preview.3.1 69 10/23/2025
3.0.0-preview.2.1 62 10/23/2025
3.0.0-preview.1.8 60 10/23/2025
3.0.0-preview.0.132 61 10/23/2025
2.88.9 67 10/23/2025
2.88.9-preview.2.2 70 10/23/2025
2.88.9-preview.1.1 68 10/23/2025
2.88.8 60 10/23/2025
2.88.8-preview.1.1 64 10/23/2025
2.88.7 69 10/23/2025
2.88.6 59 10/23/2025
2.88.6-preview.1.2 66 10/23/2025
2.88.5 65 10/23/2025
2.88.4 66 10/23/2025
2.88.4-preview.96 59 10/23/2025
2.88.4-preview.95 59 10/23/2025
2.88.4-preview.89 64 10/23/2025
2.88.4-preview.84 63 10/23/2025
2.88.4-preview.82 68 10/23/2025
2.88.4-preview.76 58 10/23/2025
2.88.4-preview.70 68 10/23/2025
2.88.3 63 10/23/2025
2.88.2 60 10/23/2025
2.88.2-preview.8 59 10/23/2025
2.88.1 59 10/23/2025
2.88.1-preview.108 58 10/23/2025
2.88.1-preview.104 64 10/23/2025
2.88.1-preview.91 60 10/23/2025
2.88.1-preview.79 61 10/23/2025
2.88.1-preview.75 62 10/23/2025
2.88.1-preview.71 69 10/23/2025
2.88.1-preview.63 70 10/23/2025
2.88.1-preview.1 60 10/23/2025
2.88.0 65 10/23/2025
2.88.0-preview.266 60 10/23/2025
2.88.0-preview.256 57 10/23/2025
2.88.0-preview.254 58 10/23/2025
2.88.0-preview.232 62 10/23/2025
2.88.0-preview.209 64 10/23/2025
2.88.0-preview.187 63 10/23/2025
2.88.0-preview.179 58 10/23/2025
2.88.0-preview.178 59 10/23/2025
2.88.0-preview.155 64 10/23/2025
2.88.0-preview.152 63 10/23/2025
2.88.0-preview.150 70 10/23/2025
2.88.0-preview.145 70 10/23/2025
2.88.0-preview.140 60 10/23/2025
2.88.0-preview.139 60 10/23/2025
2.88.0-preview.127 67 10/23/2025
2.88.0-preview.120 62 10/23/2025
2.88.0-preview.61 65 10/23/2025
2.80.4 57 10/23/2025
2.80.4-preview.9 61 10/23/2025
2.80.4-preview.6 67 10/23/2025
2.80.4-preview.5 64 10/23/2025
2.80.4-preview.2 60 10/23/2025
2.80.3 59 10/23/2025
2.80.3-preview.93 60 10/23/2025
2.80.3-preview.90 60 10/23/2025
2.80.3-preview.40 65 10/23/2025
2.80.3-preview.24 64 10/23/2025
2.80.3-preview.18 57 10/23/2025
2.80.2 59 10/23/2025
2.80.2-preview.36 58 10/23/2025
2.80.2-preview.33 63 10/23/2025
2.80.2-preview.19 64 10/23/2025
2.80.2-preview.18 57 10/23/2025
2.80.2-preview.9 63 10/23/2025
2.80.1 59 10/23/2025
2.80.0 58 10/23/2025
2.80.0-preview.33 61 10/23/2025
2.80.0-preview.24 68 10/23/2025
2.80.0-preview.14 58 10/23/2025
2.80.0-preview.12 59 10/23/2025
2.80.0-preview.3 65 10/23/2025
1.68.3 60 10/23/2025
1.68.3-preview.2 58 10/23/2025
1.68.2.1 59 10/23/2025
1.68.2 57 10/23/2025
1.68.2-preview.60 62 10/23/2025
1.68.2-preview.50 63 10/23/2025
1.68.2-preview.45 60 10/23/2025
1.68.2-preview.43 62 10/23/2025
1.68.2-preview.39 67 10/23/2025
1.68.2-preview.29 77 10/23/2025
1.68.2-preview.21 60 10/23/2025
1.68.2-preview.17 59 10/23/2025
1.68.1.1 61 10/23/2025
1.68.1.1-preview.9 59 10/23/2025
1.68.1 65 10/23/2025
1.68.1-rc.172 61 10/23/2025
1.68.1-rc.170 63 10/23/2025
1.68.1-rc.169 63 10/23/2025
1.68.1-rc.165 67 10/23/2025
1.68.1-rc.153 62 10/23/2025
1.68.1-rc.147 59 10/23/2025
1.68.0 61 10/23/2025
1.68.0-preview28 59 10/23/2025
1.60.3 59 10/23/2025
1.60.2 63 10/23/2025
1.60.1 60 10/23/2025
1.60.0 59 10/23/2025
1.59.3 67 10/23/2025
1.59.2 59 10/23/2025
1.59.1 64 10/23/2025
1.59.0 63 10/23/2025
1.58.1 62 10/23/2025
1.58.0 77 10/23/2025
1.57.1 81 10/23/2025
1.57.0 60 10/23/2025
1.56.2 63 10/23/2025
1.56.1 59 10/23/2025
1.56.1-beta 59 10/23/2025
1.56.0 60 10/23/2025
1.55.1 60 10/23/2025
1.55.0 67 10/23/2025
1.54.1 61 10/23/2025
1.54.0 59 10/23/2025
1.53.2-svg1 55 10/23/2025
1.53.2-gpu2 61 10/23/2025
1.53.2-gpu1 57 10/23/2025
1.53.1.2 56 10/23/2025
1.53.1.1 57 10/23/2025
1.53.1 59 10/23/2025
1.53.0 60 10/23/2025
1.49.4-beta 58 10/23/2025
1.49.3-beta 57 10/23/2025
1.49.2.1-beta 58 10/23/2025
1.49.2-beta 63 10/23/2025
1.49.1 60 10/23/2025
1.49.0-preview1 61 10/23/2025