SkiaSharp 4.153.1
Prefix ReservedSee the version list below for details.
dotnet add package SkiaSharp --version 4.153.1
NuGet\Install-Package SkiaSharp -Version 4.153.1
<PackageReference Include="SkiaSharp" Version="4.153.1" />
<PackageVersion Include="SkiaSharp" Version="4.153.1" />
<PackageReference Include="SkiaSharp" />
paket add SkiaSharp --version 4.153.1
#r "nuget: SkiaSharp, 4.153.1"
#:package SkiaSharp@4.153.1
#addin nuget:?package=SkiaSharp&version=4.153.1
#tool nuget:?package=SkiaSharp&version=4.153.1
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.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tizen8.0 is compatible. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-android35.0 is compatible. net9.0-browser was computed. net9.0-ios was computed. net9.0-ios18.0 is compatible. net9.0-maccatalyst was computed. net9.0-maccatalyst18.0 is compatible. net9.0-macos was computed. net9.0-macos15.0 is compatible. net9.0-tizen8.0 is compatible. net9.0-tvos was computed. net9.0-tvos18.0 is compatible. net9.0-windows was computed. net9.0-windows10.0.19041 is compatible. net10.0 is compatible. net10.0-android was computed. net10.0-android36.0 is compatible. net10.0-browser was computed. net10.0-ios was computed. net10.0-ios26.0 is compatible. net10.0-maccatalyst was computed. net10.0-maccatalyst26.0 is compatible. net10.0-macos was computed. net10.0-macos26.0 is compatible. net10.0-tizen10.0 is compatible. net10.0-tvos was computed. net10.0-tvos26.0 is compatible. net10.0-windows was computed. net10.0-windows10.0.19041 is compatible. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
| .NET Framework | net461 was computed. net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 is compatible. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.6.2
- SkiaSharp.NativeAssets.macOS (>= 4.153.1)
- SkiaSharp.NativeAssets.Win32 (>= 4.153.1)
- System.Memory (>= 4.6.3)
-
.NETFramework 4.8
- SkiaSharp.NativeAssets.macOS (>= 4.153.1)
- SkiaSharp.NativeAssets.Win32 (>= 4.153.1)
- System.Memory (>= 4.6.3)
-
.NETStandard 2.0
- SkiaSharp.NativeAssets.macOS (>= 4.153.1)
- SkiaSharp.NativeAssets.Win32 (>= 4.153.1)
- System.Memory (>= 4.6.3)
-
.NETStandard 2.1
- SkiaSharp.NativeAssets.macOS (>= 4.153.1)
- SkiaSharp.NativeAssets.Win32 (>= 4.153.1)
- System.Runtime.CompilerServices.Unsafe (>= 6.1.2)
-
net10.0
- SkiaSharp.NativeAssets.macOS (>= 4.153.1)
- SkiaSharp.NativeAssets.Win32 (>= 4.153.1)
-
net10.0-android36.0
- SkiaSharp.NativeAssets.Android (>= 4.153.1)
-
net10.0-ios26.0
- SkiaSharp.NativeAssets.iOS (>= 4.153.1)
-
net10.0-maccatalyst26.0
- SkiaSharp.NativeAssets.MacCatalyst (>= 4.153.1)
-
net10.0-macos26.0
- SkiaSharp.NativeAssets.macOS (>= 4.153.1)
-
net10.0-tizen10.0
- SkiaSharp.NativeAssets.Tizen (>= 4.153.1)
-
net10.0-tvos26.0
- SkiaSharp.NativeAssets.tvOS (>= 4.153.1)
-
net10.0-windows10.0.19041
- SkiaSharp.NativeAssets.Win32 (>= 4.153.1)
-
net6.0
- SkiaSharp.NativeAssets.macOS (>= 4.153.1)
- SkiaSharp.NativeAssets.Win32 (>= 4.153.1)
-
net6.0-tizen8.0
- SkiaSharp.NativeAssets.Tizen (>= 4.153.1)
-
net9.0
- SkiaSharp.NativeAssets.macOS (>= 4.153.1)
- SkiaSharp.NativeAssets.Win32 (>= 4.153.1)
-
net9.0-android35.0
- SkiaSharp.NativeAssets.Android (>= 4.153.1)
-
net9.0-ios18.0
- SkiaSharp.NativeAssets.iOS (>= 4.153.1)
-
net9.0-maccatalyst18.0
- SkiaSharp.NativeAssets.MacCatalyst (>= 4.153.1)
-
net9.0-macos15.0
- SkiaSharp.NativeAssets.macOS (>= 4.153.1)
-
net9.0-tizen8.0
- SkiaSharp.NativeAssets.Tizen (>= 4.153.1)
-
net9.0-tvos18.0
- SkiaSharp.NativeAssets.tvOS (>= 4.153.1)
-
net9.0-windows10.0.19041
- SkiaSharp.NativeAssets.Win32 (>= 4.153.1)
NuGet packages (2.2K)
Showing the top 5 NuGet packages that depend on SkiaSharp:
| Package | Downloads |
|---|---|
|
NPOI
.NET port of Apache POI |
|
|
SkiaSharp.HarfBuzz
This package adds text shaping support to SkiaSharp via HarfBuzz. |
|
|
Aspose.Cells
A powerful and fast library written in C# for manipulating and converting Excel(XLS, XLSX,XLSB), ODS, CSV,JSON and HTML files. |
|
|
Aspose.Words
Aspose.Words for .NET is a powerful, high-performance document processing library for creating, editing, converting, and rendering Word and PDF files in C#. It supports DOCX, DOC, RTF, ODT, HTML, PDF, Markdown, and over 30 formats. Designed for .NET developers, it enables advanced document automation, mail merge, text extraction, and report generation. Aspose.Words ensures high fidelity in document conversion, seamless API integration, and cross-platform compatibility. Ideal for cloud, web, and desktop applications. |
|
|
GemBox.Spreadsheet
GemBox.Spreadsheet is a .NET component that enables you to read, write, convert, and print spreadsheet files (XLSX, XLS, XLSB, CSV, HTML, and ODS) from .NET applications. With GemBox.Spreadsheet you get a fast and reliable component that's easy to use and doesn't depend on Microsoft Excel. It requires only .NET and it's much faster than Microsoft Office Automation! |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.155.0-preview.2.26479.13 | 1,902 | 9/30/2026 |
| 4.155.0-preview.1.26471.14 | 533 | 9/29/2026 |
| 4.154.0-rc.1.26479.14 | 210 | 9/30/2026 |
| 4.154.0-preview.2.26471.11 | 245 | 9/29/2026 |
| 4.154.0-preview.1.26454.9 | 4,039 | 9/5/2026 |
| 4.153.1 | 390,216 | 9/30/2026 |
| 4.153.0 | 50,389 | 9/29/2026 |
| 4.153.0-rc.1.26456.2 | 213 | 9/17/2026 |
| 4.153.0-preview.1.26454.6 | 339 | 9/5/2026 |
| 4.152.3 | 4,707 | 9/30/2026 |
| 4.152.2 | 4,492 | 9/29/2026 |
| 4.152.1 | 522,254 | 9/17/2026 |
| 4.152.0 | 475,973 | 9/9/2026 |
| 4.151.5 | 4,494 | 9/30/2026 |
| 4.151.4 | 2,925 | 9/29/2026 |
| 4.151.3 | 5,388 | 9/18/2026 |
| 4.151.2 | 331,878 | 9/3/2026 |
| 4.150.5 | 1,507 | 9/30/2026 |
| 4.150.4 | 2,116 | 9/28/2026 |
| 4.150.3 | 5,138 | 9/2/2026 |
Please visit https://go.microsoft.com/fwlink/?linkid=868517 to view the release notes.