SkiaSharp 4.153.0-preview.1.26454.6

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
Avalonia.Skia
Avalonia is a cross-platform UI framework for .NET providing a flexible styling system and supporting a wide range of Operating Systems such as Windows, Linux, macOS and with experimental support for Android, iOS and WebAssembly.
3
Uno.WinUI.Runtime.Skia.X11
This package provides the platform support for Skia / X11 in Uno Platform projects.
2

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

.NET 10.0

.NET 10.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 6.0

.NET 6.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 Standard 2.0

.NET Standard 2.1

Version Downloads Last updated
4.154.0-preview.1.26454.9 1 2026/9/16
4.153.0-rc.1.26456.2 1 2026/9/21
4.153.0-preview.1.26454.6 1 2026/9/16
4.152.1 2 2026/9/18
4.152.0 2 2026/9/12
4.152.0-rc.1.26426.14 1 2026/9/16
4.152.0-preview.1.1 0 2026/8/8
4.151.3 1 2026/9/21
4.151.2 2 2026/9/7
4.151.1 0 2026/8/5
4.151.0 1 2026/8/3
4.151.0-rc.1.1 2 2026/7/30
4.151.0-preview.2.1 0 2026/7/14
4.151.0-preview.1.1 2 2026/7/29
4.150.3 1 2026/9/15
4.150.2 0 2026/8/5
4.150.1 0 2026/7/14
4.150.0 0 2026/7/8
4.150.0-rc.1.1 1 2026/9/16
4.150.0-preview.2.1 0 2026/6/25
4.150.0-preview.1.1 0 2026/6/15
4.148.0 1 2026/9/20
4.148.0-rc.1.2 1 2026/9/16
4.147.0-preview.3.1 0 2026/5/25
4.147.0-preview.2.1 0 2026/5/11
4.147.0-preview.1.1 0 2026/4/28
3.119.4 0 2026/5/25
3.119.4-preview.1.1 0 2026/4/23
3.119.3-preview.1.1 0 2026/2/11
3.119.2 0 2026/2/7
3.119.2-preview.3.1 0 2026/2/5
3.119.2-preview.2.3 0 2026/1/26
3.119.2-preview.1 0 2025/10/14
3.119.1 0 2025/9/23
3.119.1-preview.1 0 2025/9/8
3.119.0 0 2025/4/29
3.119.0-stable.1 0 2025/4/29
3.119.0-preview.1.2 0 2025/4/1
3.118.0-preview.2.3 0 2024/12/5
3.118.0-preview.1.2 0 2024/11/6
3.116.1 0 2024/12/5
3.116.0 0 2024/12/3
3.116.0-preview.6.1 0 2024/11/6
3.0.0-preview.5.4 0 2024/10/24
3.0.0-preview.4.1 0 2024/7/18
3.0.0-preview.3.1 0 2024/4/10
3.0.0-preview.2.1 0 2024/2/20
3.0.0-preview.1.8 0 2024/2/6
3.0.0-preview.0.132 0 2024/4/9
2.88.9 1 2026/9/15
2.88.9-preview.2.2 0 2024/10/24
2.88.9-preview.1.1 0 2024/7/18
2.88.8 1 2026/9/15
2.88.8-preview.1.1 0 2024/4/5
2.88.7 1 2026/9/15
2.88.6 1 2026/9/15
2.88.6-preview.1.2 0 2023/8/31
2.88.5 1 2026/9/15
2.88.4 1 2026/9/15
2.88.4-preview.96 0 2023/8/17
2.88.4-preview.95 0 2023/8/16
2.88.4-preview.89 0 2023/7/25
2.88.4-preview.84 0 2023/6/27
2.88.4-preview.82 0 2023/6/26
2.88.4-preview.76 0 2023/6/19
2.88.4-preview.70 0 2023/6/15
2.88.3 1 2026/9/15
2.88.2 1 2026/9/15
2.88.2-preview.8 0 2022/9/8
2.88.1 1 2026/9/15
2.88.1-preview.108 0 2022/8/12
2.88.1-preview.104 0 2022/8/10
2.88.1-preview.91 0 2022/7/15
2.88.1-preview.79 0 2022/6/29
2.88.1-preview.75 0 2022/6/27
2.88.1-preview.71 0 2022/6/20
2.88.1-preview.63 0 2022/6/8
2.88.1-preview.1 0 2022/5/22
2.88.0 1 2026/9/15
2.88.0-preview.266 0 2022/5/11
2.88.0-preview.256 0 2022/4/26
2.88.0-preview.254 0 2022/4/17
2.88.0-preview.232 0 2022/3/17
2.88.0-preview.209 0 2022/2/18
2.88.0-preview.187 1 2026/9/19
2.88.0-preview.179 0 2021/12/18
2.88.0-preview.178 0 2021/12/15
2.88.0-preview.155 0 2021/10/29
2.88.0-preview.152 0 2021/10/22
2.88.0-preview.150 0 2021/10/11
2.88.0-preview.145 0 2021/9/28
2.88.0-preview.140 0 2021/9/14
2.88.0-preview.139 0 2021/9/13
2.88.0-preview.127 0 2021/8/21
2.88.0-preview.120 0 2021/8/10
2.88.0-preview.61 0 2021/7/12
2.80.4 1 2026/9/15
2.80.4-preview.9 0 2022/5/11
2.80.4-preview.6 0 2021/9/14
2.80.4-preview.5 0 2021/9/13
2.80.4-preview.2 1 2026/9/17
2.80.3 1 2026/9/15
2.80.3-preview.93 0 2021/6/12
2.80.3-preview.90 0 2021/5/30
2.80.3-preview.40 0 2021/2/6
2.80.3-preview.24 0 2021/1/27
2.80.3-preview.18 0 2020/11/10
2.80.2 1 2026/9/15
2.80.2-preview.36 0 2020/9/3
2.80.2-preview.33 0 2020/8/25
2.80.2-preview.19 0 2020/8/4
2.80.2-preview.18 0 2020/8/2
2.80.2-preview.9 0 2020/7/27
2.80.1 1 2026/9/15
2.80.0 1 2026/9/15
2.80.0-preview.33 0 2020/7/1
2.80.0-preview.24 0 2020/6/27
2.80.0-preview.14 0 2020/6/18
2.80.0-preview.12 0 2020/6/16
2.80.0-preview.3 0 2020/6/8
1.68.3 1 2026/9/15
1.68.3-preview.2 1 2026/9/20
1.68.2.1 1 2026/9/16
1.68.2 1 2026/9/15
1.68.2-preview.60 0 2020/4/13
1.68.2-preview.50 0 2020/4/3
1.68.2-preview.45 0 2020/3/24
1.68.2-preview.43 0 2020/3/18
1.68.2-preview.39 0 2020/2/27
1.68.2-preview.29 0 2020/2/7
1.68.2-preview.21 0 2020/1/20
1.68.2-preview.17 0 2020/1/11
1.68.1.1 0 2019/12/21
1.68.1.1-preview.9 0 2019/12/10
1.68.1 0 2019/11/22
1.68.1-rc.172 1 2026/9/16
1.68.1-rc.170 1 2026/9/16
1.68.1-rc.169 1 2026/9/16
1.68.1-rc.165 1 2026/9/16
1.68.1-rc.153 1 2026/9/16
1.68.1-rc.147 1 2026/9/16
1.68.0 1 2026/9/15
1.68.0-preview28 0 2018/11/14
1.60.3 1 2026/9/15
1.60.2 1 2026/9/15
1.60.1 1 2026/9/15
1.60.0 1 2026/9/15
1.59.3 1 2026/9/15
1.59.2 1 2026/9/15
1.59.1 1 2026/9/15
1.59.0 1 2026/9/15
1.58.1 1 2026/9/15
1.58.0 1 2026/9/15
1.57.1 1 2026/9/15
1.57.0 1 2026/9/15
1.56.2 1 2026/9/15
1.56.1 1 2026/9/15
1.56.1-beta 1 2026/9/15
1.56.0 1 2026/9/15
1.55.1 1 2026/9/15
1.55.0 1 2026/9/15
1.54.1 1 2026/9/15
1.54.0 1 2026/9/15
1.53.2-svg1 0 2016/8/25
1.53.2-gpu2 0 2016/8/24
1.53.2-gpu1 0 2016/8/19
1.53.1.2 1 2026/9/16
1.53.1.1 0 2016/8/17
1.53.1 1 2026/9/15
1.53.0 1 2026/9/15
1.49.4-beta 1 2026/9/15
1.49.3-beta 1 2026/9/15
1.49.2.1-beta 1 2026/9/16
1.49.2-beta 1 2026/9/16
1.49.1 1 2026/9/15
1.49.0-preview1 0 2016/2/22