SkiaSharp 4.153.0-preview.1.26454.6
SkiaSharp
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
- SkiaSharp documentation - conceptual guides and tutorials
- API reference on Microsoft Learn
- Live SkiaSharp Gallery - interactive samples running in Blazor WebAssembly
- SkiaFiddle - experiment with SkiaSharp in your browser
- Samples - buildable console, mobile, desktop, web, and UI examples
- Release notes - new features and API changes
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 |
|---|---|
|
Microsoft.Maui.Graphics.Skia
Package Description
|
1 |
|
SkiaSharp.Views
SkiaSharp Views & Layers are a set of platform-specific views and containers that can be used to draw on the screen.
|
1 |
|
SkiaSharp.Views.WinUI
SkiaSharp Views & Layers are a set of platform-specific views and containers that can be used to draw on the screen.
|
1 |
|
SkiaSharp.Views.WindowsForms
SkiaSharp Views & Layers are a set of platform-specific views and containers that can be used to draw on the screen.
|
1 |
|
SkiaSharp.Views.WPF
SkiaSharp Views & Layers are a set of platform-specific views and containers that can be used to draw on the screen.
|
1 |
|
SkiaSharp.Views.Maui.Controls
SkiaSharp for .NET MAUI is a set of views that can be used to draw on the screen.
|
1 |
|
SkiaSharp.Views.Desktop.Common
SkiaSharp Views & Layers are a set of platform-specific views and containers that can be used to draw on the screen.
|
1 |
|
SkiaSharp.NativeAssets.Linux.NoDependencies
SkiaSharp is a cross-platform 2D graphics API for .NET platforms based on Google's Skia Graphics Library.
It provides a comprehensive 2D API that can be used across mobile, server and desktop models to render images.
This variation of the Linux native assets includes the build of libSkiaSharp.so that does not have any dependencies on third-party libraries.
The complete dependency list is:
- libpthread.so.0
- libdl.so.2
- libm.so.6
- libc.so.6
- ld-linux-x86-64.so.2
The excluded dependencies are:
- Fontconfig
|
1 |
|
SkiaSharp.Views.Maui.Core
SkiaSharp for .NET MAUI is a set of views that can be used to draw on the screen.
|
1 |
|
Microsoft.Maui.Graphics.Skia
.NET Multi-platform App UI (.NET MAUI) is a cross-platform framework for creating native mobile and desktop apps with C# and XAML. This package contains additional graphics and drawing APIs for using the SkiaSharp graphics engine with .NET MAUI Graphics.
|
1 |
Please visit https://go.microsoft.com/fwlink/?linkid=868517 to view the release notes.
.NET 10.0
- SkiaSharp.NativeAssets.macOS (>= 4.153.0-preview.1.26454.6)
- SkiaSharp.NativeAssets.Win32 (>= 4.153.0-preview.1.26454.6)
.NET 10.0
- SkiaSharp.NativeAssets.Android (>= 4.153.0-preview.1.26454.6)
.NET 10.0
- SkiaSharp.NativeAssets.iOS (>= 4.153.0-preview.1.26454.6)
.NET 10.0
- SkiaSharp.NativeAssets.MacCatalyst (>= 4.153.0-preview.1.26454.6)
.NET 10.0
- SkiaSharp.NativeAssets.macOS (>= 4.153.0-preview.1.26454.6)
.NET 10.0
- SkiaSharp.NativeAssets.Tizen (>= 4.153.0-preview.1.26454.6)
.NET 10.0
- SkiaSharp.NativeAssets.tvOS (>= 4.153.0-preview.1.26454.6)
.NET 10.0
- SkiaSharp.NativeAssets.Win32 (>= 4.153.0-preview.1.26454.6)
.NET Framework 4.6.2
- SkiaSharp.NativeAssets.macOS (>= 4.153.0-preview.1.26454.6)
- SkiaSharp.NativeAssets.Win32 (>= 4.153.0-preview.1.26454.6)
- System.Memory (>= 4.6.3)
.NET Framework 4.8
- SkiaSharp.NativeAssets.macOS (>= 4.153.0-preview.1.26454.6)
- SkiaSharp.NativeAssets.Win32 (>= 4.153.0-preview.1.26454.6)
- System.Memory (>= 4.6.3)
.NET 6.0
- SkiaSharp.NativeAssets.macOS (>= 4.153.0-preview.1.26454.6)
- SkiaSharp.NativeAssets.Win32 (>= 4.153.0-preview.1.26454.6)
.NET 6.0
- SkiaSharp.NativeAssets.Tizen (>= 4.153.0-preview.1.26454.6)
.NET 9.0
- SkiaSharp.NativeAssets.macOS (>= 4.153.0-preview.1.26454.6)
- SkiaSharp.NativeAssets.Win32 (>= 4.153.0-preview.1.26454.6)
.NET 9.0
- SkiaSharp.NativeAssets.Android (>= 4.153.0-preview.1.26454.6)
.NET 9.0
- SkiaSharp.NativeAssets.iOS (>= 4.153.0-preview.1.26454.6)
.NET 9.0
- SkiaSharp.NativeAssets.MacCatalyst (>= 4.153.0-preview.1.26454.6)
.NET 9.0
- SkiaSharp.NativeAssets.macOS (>= 4.153.0-preview.1.26454.6)
.NET 9.0
- SkiaSharp.NativeAssets.Tizen (>= 4.153.0-preview.1.26454.6)
.NET 9.0
- SkiaSharp.NativeAssets.tvOS (>= 4.153.0-preview.1.26454.6)
.NET 9.0
- SkiaSharp.NativeAssets.Win32 (>= 4.153.0-preview.1.26454.6)
.NET Standard 2.0
- SkiaSharp.NativeAssets.macOS (>= 4.153.0-preview.1.26454.6)
- SkiaSharp.NativeAssets.Win32 (>= 4.153.0-preview.1.26454.6)
- System.Memory (>= 4.6.3)
.NET Standard 2.1
- SkiaSharp.NativeAssets.macOS (>= 4.153.0-preview.1.26454.6)
- SkiaSharp.NativeAssets.Win32 (>= 4.153.0-preview.1.26454.6)
- System.Runtime.CompilerServices.Unsafe (>= 6.1.2)
| Version | Downloads | Last updated |
|---|---|---|
| 4.154.0-preview.1.26454.9 | 0 | 09/05/2026 |
| 4.153.0-preview.1.26454.6 | 1 | 09/08/2026 |
| 4.152.0-rc.1.26426.14 | 0 | 08/27/2026 |
| 4.152.0-preview.1.1 | 0 | 08/08/2026 |
| 4.151.2 | 0 | 09/03/2026 |
| 4.151.1 | 0 | 08/05/2026 |
| 4.151.0 | 0 | 07/31/2026 |
| 4.151.0-rc.1.1 | 0 | 07/22/2026 |
| 4.151.0-preview.2.1 | 0 | 07/14/2026 |
| 4.151.0-preview.1.1 | 0 | 07/02/2026 |
| 4.150.3 | 0 | 09/02/2026 |
| 4.150.2 | 0 | 08/05/2026 |
| 4.150.1 | 0 | 07/14/2026 |
| 4.150.0 | 0 | 07/08/2026 |
| 4.150.0-rc.1.1 | 0 | 06/30/2026 |
| 4.150.0-preview.2.1 | 0 | 06/25/2026 |
| 4.150.0-preview.1.1 | 0 | 06/15/2026 |
| 4.148.0 | 0 | 06/23/2026 |
| 4.148.0-rc.1.2 | 0 | 06/14/2026 |
| 4.147.0-preview.3.1 | 0 | 05/25/2026 |
| 4.147.0-preview.2.1 | 0 | 05/11/2026 |
| 4.147.0-preview.1.1 | 0 | 04/28/2026 |
| 3.119.4 | 0 | 05/25/2026 |
| 3.119.4-preview.1.1 | 0 | 04/23/2026 |
| 3.119.3-preview.1.1 | 0 | 02/11/2026 |
| 3.119.2 | 0 | 02/07/2026 |
| 3.119.2-preview.3.1 | 0 | 02/05/2026 |
| 3.119.2-preview.2.3 | 0 | 01/26/2026 |
| 3.119.2-preview.1 | 0 | 10/14/2025 |
| 3.119.1 | 0 | 09/23/2025 |
| 3.119.1-preview.1 | 0 | 09/08/2025 |
| 3.119.0 | 0 | 04/29/2025 |
| 3.119.0-stable.1 | 0 | 04/29/2025 |
| 3.119.0-preview.1.2 | 0 | 04/01/2025 |
| 3.118.0-preview.2.3 | 0 | 12/05/2024 |
| 3.118.0-preview.1.2 | 0 | 11/06/2024 |
| 3.116.1 | 0 | 12/05/2024 |
| 3.116.0 | 0 | 12/03/2024 |
| 3.116.0-preview.6.1 | 0 | 11/06/2024 |
| 3.0.0-preview.5.4 | 0 | 10/24/2024 |
| 3.0.0-preview.4.1 | 0 | 07/18/2024 |
| 3.0.0-preview.3.1 | 0 | 04/10/2024 |
| 3.0.0-preview.2.1 | 0 | 02/20/2024 |
| 3.0.0-preview.1.8 | 0 | 02/06/2024 |
| 3.0.0-preview.0.132 | 0 | 04/09/2024 |
| 2.88.9 | 0 | 11/07/2024 |
| 2.88.9-preview.2.2 | 0 | 10/24/2024 |
| 2.88.9-preview.1.1 | 0 | 07/18/2024 |
| 2.88.8 | 0 | 04/10/2024 |
| 2.88.8-preview.1.1 | 0 | 04/05/2024 |
| 2.88.7 | 1 | 09/07/2026 |
| 2.88.6 | 0 | 09/21/2023 |
| 2.88.6-preview.1.2 | 0 | 08/31/2023 |
| 2.88.5 | 0 | 08/23/2023 |
| 2.88.4 | 0 | 08/22/2023 |
| 2.88.4-preview.96 | 0 | 08/17/2023 |
| 2.88.4-preview.95 | 0 | 08/16/2023 |
| 2.88.4-preview.89 | 0 | 07/25/2023 |
| 2.88.4-preview.84 | 0 | 06/27/2023 |
| 2.88.4-preview.82 | 0 | 06/26/2023 |
| 2.88.4-preview.76 | 0 | 06/19/2023 |
| 2.88.4-preview.70 | 0 | 06/15/2023 |
| 2.88.3 | 0 | 10/04/2022 |
| 2.88.2 | 0 | 09/08/2022 |
| 2.88.2-preview.8 | 0 | 09/08/2022 |
| 2.88.1 | 0 | 08/17/2022 |
| 2.88.1-preview.108 | 0 | 08/12/2022 |
| 2.88.1-preview.104 | 0 | 08/10/2022 |
| 2.88.1-preview.91 | 0 | 07/15/2022 |
| 2.88.1-preview.79 | 0 | 06/29/2022 |
| 2.88.1-preview.75 | 0 | 06/27/2022 |
| 2.88.1-preview.71 | 0 | 06/20/2022 |
| 2.88.1-preview.63 | 0 | 06/08/2022 |
| 2.88.1-preview.1 | 0 | 05/22/2022 |
| 2.88.0 | 0 | 05/22/2022 |
| 2.88.0-preview.266 | 0 | 05/11/2022 |
| 2.88.0-preview.256 | 0 | 04/26/2022 |
| 2.88.0-preview.254 | 0 | 04/17/2022 |
| 2.88.0-preview.232 | 0 | 03/17/2022 |
| 2.88.0-preview.209 | 0 | 02/18/2022 |
| 2.88.0-preview.187 | 0 | 01/27/2022 |
| 2.88.0-preview.179 | 0 | 12/18/2021 |
| 2.88.0-preview.178 | 0 | 12/15/2021 |
| 2.88.0-preview.155 | 0 | 10/29/2021 |
| 2.88.0-preview.152 | 0 | 10/22/2021 |
| 2.88.0-preview.150 | 0 | 10/11/2021 |
| 2.88.0-preview.145 | 0 | 09/28/2021 |
| 2.88.0-preview.140 | 0 | 09/14/2021 |
| 2.88.0-preview.139 | 0 | 09/13/2021 |
| 2.88.0-preview.127 | 0 | 08/21/2021 |
| 2.88.0-preview.120 | 0 | 08/10/2021 |
| 2.88.0-preview.61 | 0 | 07/12/2021 |
| 2.80.4 | 0 | 05/21/2022 |
| 2.80.4-preview.9 | 0 | 05/11/2022 |
| 2.80.4-preview.6 | 0 | 09/14/2021 |
| 2.80.4-preview.5 | 0 | 09/13/2021 |
| 2.80.4-preview.2 | 0 | 08/19/2021 |
| 2.80.3 | 0 | 07/12/2021 |
| 2.80.3-preview.93 | 0 | 06/12/2021 |
| 2.80.3-preview.90 | 0 | 05/30/2021 |
| 2.80.3-preview.40 | 0 | 02/06/2021 |
| 2.80.3-preview.24 | 0 | 01/27/2021 |
| 2.80.3-preview.18 | 0 | 11/10/2020 |
| 2.80.2 | 0 | 09/11/2020 |
| 2.80.2-preview.36 | 0 | 09/03/2020 |
| 2.80.2-preview.33 | 0 | 08/25/2020 |
| 2.80.2-preview.19 | 0 | 08/04/2020 |
| 2.80.2-preview.18 | 0 | 08/02/2020 |
| 2.80.2-preview.9 | 0 | 07/27/2020 |
| 2.80.1 | 0 | 07/14/2020 |
| 2.80.0 | 1 | 09/08/2026 |
| 2.80.0-preview.33 | 0 | 07/01/2020 |
| 2.80.0-preview.24 | 0 | 06/27/2020 |
| 2.80.0-preview.14 | 0 | 06/18/2020 |
| 2.80.0-preview.12 | 0 | 06/16/2020 |
| 2.80.0-preview.3 | 0 | 06/08/2020 |
| 1.68.3 | 0 | 05/18/2020 |
| 1.68.3-preview.2 | 0 | 05/18/2020 |
| 1.68.2.1 | 0 | 05/02/2020 |
| 1.68.2 | 0 | 04/30/2020 |
| 1.68.2-preview.60 | 1 | 09/08/2026 |
| 1.68.2-preview.50 | 0 | 04/03/2020 |
| 1.68.2-preview.45 | 0 | 03/24/2020 |
| 1.68.2-preview.43 | 0 | 03/18/2020 |
| 1.68.2-preview.39 | 0 | 02/27/2020 |
| 1.68.2-preview.29 | 0 | 02/07/2020 |
| 1.68.2-preview.21 | 0 | 01/20/2020 |
| 1.68.2-preview.17 | 0 | 01/11/2020 |
| 1.68.1.1 | 0 | 12/21/2019 |
| 1.68.1.1-preview.9 | 0 | 12/10/2019 |
| 1.68.1 | 0 | 11/22/2019 |
| 1.68.1-rc.172 | 0 | 11/17/2019 |
| 1.68.1-rc.170 | 0 | 11/16/2019 |
| 1.68.1-rc.169 | 0 | 11/14/2019 |
| 1.68.1-rc.165 | 0 | 11/07/2019 |
| 1.68.1-rc.153 | 0 | 10/24/2019 |
| 1.68.1-rc.147 | 0 | 09/26/2019 |
| 1.68.0 | 0 | 12/04/2018 |
| 1.68.0-preview28 | 0 | 11/14/2018 |
| 1.60.3 | 0 | 08/13/2018 |
| 1.60.2 | 0 | 06/28/2018 |
| 1.60.1 | 0 | 05/22/2018 |
| 1.60.0 | 0 | 02/22/2018 |
| 1.59.3 | 0 | 12/19/2017 |
| 1.59.2 | 0 | 10/26/2017 |
| 1.59.1 | 0 | 07/18/2017 |
| 1.59.0 | 0 | 07/15/2017 |
| 1.58.1 | 0 | 06/30/2017 |
| 1.58.0 | 0 | 05/19/2017 |
| 1.57.1 | 0 | 05/05/2017 |
| 1.57.0 | 0 | 04/11/2017 |
| 1.56.2 | 0 | 03/09/2017 |
| 1.56.1 | 0 | 02/08/2017 |
| 1.56.1-beta | 0 | 02/02/2017 |
| 1.56.0 | 0 | 01/16/2017 |
| 1.55.1 | 0 | 11/21/2016 |
| 1.55.0 | 0 | 11/10/2016 |
| 1.54.1 | 0 | 10/12/2016 |
| 1.54.0 | 0 | 09/05/2016 |
| 1.53.2-svg1 | 0 | 08/25/2016 |
| 1.53.2-gpu2 | 0 | 08/24/2016 |
| 1.53.2-gpu1 | 0 | 08/19/2016 |
| 1.53.1.2 | 0 | 08/24/2016 |
| 1.53.1.1 | 0 | 08/17/2016 |
| 1.53.1 | 0 | 08/16/2016 |
| 1.53.0 | 0 | 08/01/2016 |
| 1.49.4-beta | 0 | 06/15/2016 |
| 1.49.3-beta | 0 | 05/14/2016 |
| 1.49.2.1-beta | 0 | 04/19/2016 |
| 1.49.2-beta | 0 | 04/11/2016 |
| 1.49.1 | 0 | 03/07/2016 |
| 1.49.0-preview1 | 0 | 02/22/2016 |